diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/ControlCenterv2.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/ControlCenterv2.java index 8d7ab7907..0c2ff80c8 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/ControlCenterv2.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/ControlCenterv2.java @@ -68,6 +68,12 @@ public class ControlCenterv2 extends AppCompatActivity @Override protected void onCreate(Bundle savedInstanceState) { + if (GBApplication.isDarkThemeEnabled()) { + setTheme(R.style.GadgetbridgeThemeDark_NoActionBar); + } else { + setTheme(R.style.GadgetbridgeTheme_NoActionBar); + } + super.onCreate(savedInstanceState); setContentView(R.layout.activity_controlcenterv2); Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index f864ebbe6..ce4a372d6 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -14,6 +14,13 @@ @color/chart_activity_light --> + + + + -