Extra themes are a pro feature

This commit is contained in:
M66B
2019-12-28 13:35:54 +01:00
parent d529b75d90
commit c0b797444c
6 changed files with 29 additions and 0 deletions

View File

@@ -86,6 +86,11 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
int uiMode = getResources().getConfiguration().uiMode;
Log.i("UI mode=" + uiMode);
if (!this.getClass().equals(ActivitySetup.class) &&
!ActivityBilling.isPro(this) &&
(theme.contains("yellow") || theme.contains("red")))
theme = "blue_orange_light";
switch (theme) {
case "light":
case "blue_orange_light":