mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Extra themes are a pro feature
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user