Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f93210ff authored by Mohit Mali's avatar Mohit Mali Committed by Romain Hunault
Browse files

Dialer crash fix

parent 9749823a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ public class InCallUIMaterialColorMapUtils extends MaterialColorMapUtils {
  @SuppressWarnings("deprecation")
  public static MaterialPalette getDefaultPrimaryAndSecondaryColors(Context context) {
    final int primaryColor = ThemeComponent.get(context).theme().getColorPrimary();
    final int secondaryColor = ThemeComponent.get(context).theme().getColorPrimaryDark();
    final int secondaryColor = context.getResources().getColor(R.color.dialer_theme_color_dark);
    return new MaterialPalette(primaryColor, secondaryColor);
  }