mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Android: Remove finish from ConfirmRunnableViewHolder
This commit is contained in:
parent
dcaf2b9625
commit
28b640fb0d
@ -331,6 +331,7 @@ public final class SettingsAdapter extends RecyclerView.Adapter<SettingViewHolde
|
||||
StringSetting.MAIN_RESOURCEPACK_PATH.delete(settings);
|
||||
StringSetting.MAIN_SD_PATH.delete(settings);
|
||||
|
||||
notifyItemRangeChanged(0, getItemCount());
|
||||
mView.onSettingChanged();
|
||||
}
|
||||
|
||||
@ -344,6 +345,7 @@ public final class SettingsAdapter extends RecyclerView.Adapter<SettingViewHolde
|
||||
false).setBoolean(settings, value);
|
||||
}
|
||||
|
||||
notifyItemRangeChanged(0, getItemCount());
|
||||
mView.onSettingChanged();
|
||||
}
|
||||
|
||||
|
@ -73,9 +73,6 @@ public final class ConfirmRunnableViewHolder extends SettingViewHolder
|
||||
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());
|
||||
|
Loading…
Reference in New Issue
Block a user