@Override
  protected void notifySuccess(@NotNull @Nls String message) {
    switch (myDeleteOnMerge) {
      case DELETE -> {
        super.notifySuccess(message);
        new GitBranchWorker(myProject, myGit, myUiHandler).deleteBranch(myBranchNameToMerge, new ArrayList<>(getRepositories()));
      }
      case PROPOSE -> {
        VcsNotifier.toolWindowNotification()
          .createNotification("", new HtmlBuilder().appendRaw(message).toString(), NotificationType.INFORMATION)
          .setDisplayId(DELETE_BRANCH_ON_MERGE)
          .addAction(NotificationAction.createSimpleExpiring(
            GitBundle.message("merge.operation.delete.branch.action", myBranchNameToMerge), () -> {
              GitBrancher.getInstance(myProject).deleteBranch(myBranchNameToMerge, new ArrayList<>(getRepositories()));
            }))
          .notify(myProject);
      }
      case NOTHING -> super.notifySuccess(message);
    }
  }
@Override
  protected void notifySuccess(@NotNull @Nls String message)