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);
|
App.bus.register(this);
|
||||||
|
|
||||||
if (Util.hasLollipopSDK()) postponeEnterTransition();
|
if (Util.hasLollipopSDK()) {
|
||||||
if (Util.hasLollipopSDK() && PreferenceUtils.getInstance(this).coloredNavigationBarArtistEnabled())
|
postponeEnterTransition();
|
||||||
getWindow().setNavigationBarColor(DialogUtils.resolveColor(this, R.attr.default_bar_color));
|
if (PreferenceUtils.getInstance(this).coloredNavigationBarArtistEnabled())
|
||||||
|
getWindow().setNavigationBarColor(DialogUtils.resolveColor(this, R.attr.default_bar_color));
|
||||||
|
}
|
||||||
|
|
||||||
getIntentExtras();
|
getIntentExtras();
|
||||||
initViews();
|
initViews();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue