mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-05-18 05:36:39 -04:00
Fix lint
This commit is contained in:
@@ -690,7 +690,7 @@ public class LoyaltyCardEditActivity extends CatimaAppCompatActivity {
|
||||
);
|
||||
|
||||
// Fix theming
|
||||
int colorPrimary = MaterialColors.getColor(this, R.attr.colorPrimary, R.color.md_theme_light_primary);
|
||||
int colorPrimary = MaterialColors.getColor(this, R.attr.colorPrimary, ContextCompat.getColor(this, R.color.md_theme_light_primary));
|
||||
mCropperOptions.setToolbarColor(colorPrimary);
|
||||
mCropperOptions.setStatusBarColor(colorPrimary);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user