Small improvements

This commit is contained in:
M66B
2021-06-26 15:50:20 +02:00
parent 7fc720a520
commit 40347cd3ff
12 changed files with 60 additions and 32 deletions

View File

@@ -913,8 +913,12 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
@Override
public boolean onOptionsItemSelected(MenuItem item) {
if (item.getItemId() == R.id.menu_default) {
FragmentOptions.reset(getContext(), RESET_OPTIONS);
setNavigationBarColor(Color.BLACK);
FragmentOptions.reset(getContext(), RESET_OPTIONS, new Runnable() {
@Override
public void run() {
setNavigationBarColor(Color.BLACK);
}
});
return true;
}
return super.onOptionsItemSelected(item);