Fix 'NoSuchMethodError getColor' for API < 23

pull/183/head
sirekanyan 9 years ago
parent 1a8d9e72a1
commit c8aa2b61df

@ -65,7 +65,7 @@ public abstract class BaseRootView extends FrameLayout
public int getToolbarColor() public int getToolbarColor()
{ {
if (SDK_INT < LOLLIPOP && !themeSwitcher.isNightMode()) if (SDK_INT >= M && !themeSwitcher.isNightMode())
{ {
return context return context
.getResources() .getResources()

Loading…
Cancel
Save