Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #9144 from JosJuice/confirm-runnable-finish
Android: Remove finish from ConfirmRunnableViewHolder
  • Loading branch information
JosJuice committed Oct 15, 2020
2 parents ab2e226 + 28b640f commit 16f5a50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Expand Up @@ -331,6 +331,7 @@ public void resetPaths()
StringSetting.MAIN_RESOURCEPACK_PATH.delete(settings);
StringSetting.MAIN_SD_PATH.delete(settings);

notifyItemRangeChanged(0, getItemCount());
mView.onSettingChanged();
}

Expand All @@ -344,6 +345,7 @@ public void setAllLogTypes(boolean value)
false).setBoolean(settings, value);
}

notifyItemRangeChanged(0, getItemCount());
mView.onSettingChanged();
}

Expand Down
Expand Up @@ -73,9 +73,6 @@ public void onClick(View clicked)
Toast.makeText(mContext, confirmationText, Toast.LENGTH_SHORT).show();
}
dialog.dismiss();

// TODO: Remove finish and properly update dynamic settings descriptions.
mView.getActivity().finish();
})
.setNegativeButton("No", (dialog, whichButton) ->
dialog.dismiss());
Expand Down

0 comments on commit 16f5a50

Please sign in to comment.