mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-31 20:25:38 +00:00
Small improvement
This commit is contained in:
parent
e306267602
commit
41615e188b
1 changed files with 3 additions and 3 deletions
|
@ -256,8 +256,6 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
|||
|
||||
prefs.registerOnSharedPreferenceChangeListener(this);
|
||||
|
||||
checkAuthentication();
|
||||
|
||||
int colorPrimaryDark = Helper.resolveColor(this, R.attr.colorPrimaryDark);
|
||||
int colorActionForeground = Helper.resolveColor(this, R.attr.colorActionForeground);
|
||||
|
||||
|
@ -278,9 +276,11 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
|||
if (navbar_colorize) {
|
||||
Window window = getWindow();
|
||||
if (window != null)
|
||||
window.setNavigationBarColor(Helper.resolveColor(this, R.attr.colorPrimaryDark));
|
||||
window.setNavigationBarColor(colorPrimaryDark);
|
||||
}
|
||||
|
||||
checkAuthentication();
|
||||
|
||||
super.onCreate(savedInstanceState);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue