fix attr
This commit is contained in:
parent
f9a0cad95a
commit
c8dbc6db4a
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ public class MainApplication extends Application {
|
|||
}
|
||||
|
||||
public static int getActionbarColor(Context context) {
|
||||
int colorId = MainApplication.getTheme(context, android.R.attr.colorPrimary, R.attr.secondBackground);
|
||||
int colorId = MainApplication.getTheme(context, R.attr.colorPrimary, R.attr.secondBackground);
|
||||
int color = ThemeUtils.getThemeColor(context, colorId);
|
||||
return color;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue