Small code simplification
This commit is contained in:
parent
0d26c79661
commit
52d2cdb7ee
1 changed files with 5 additions and 3 deletions
|
|
@ -120,9 +120,11 @@ public class ArtistDetailActivity extends AbsFabActivity implements PaletteColor
|
|||
|
||||
App.bus.register(this);
|
||||
|
||||
if (Util.hasLollipopSDK()) postponeEnterTransition();
|
||||
if (Util.hasLollipopSDK() && PreferenceUtils.getInstance(this).coloredNavigationBarArtistEnabled())
|
||||
getWindow().setNavigationBarColor(DialogUtils.resolveColor(this, R.attr.default_bar_color));
|
||||
if (Util.hasLollipopSDK()) {
|
||||
postponeEnterTransition();
|
||||
if (PreferenceUtils.getInstance(this).coloredNavigationBarArtistEnabled())
|
||||
getWindow().setNavigationBarColor(DialogUtils.resolveColor(this, R.attr.default_bar_color));
|
||||
}
|
||||
|
||||
getIntentExtras();
|
||||
initViews();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue