diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-08-01 10:22:24 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-08-01 10:22:24 +0200 |
commit | ffd08658e1a9333b6af896aa3fc853c5184fc571 (patch) | |
tree | 3961115c310abb94c08344db719cdb316da96805 /src/main/java/de/pixart/messenger/ui/MagicCreateActivity.java | |
parent | 7b6d679ea2c8557d732fdd79021ef3d2b7d84304 (diff) |
put settings defaults into resource file
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/MagicCreateActivity.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/MagicCreateActivity.java b/src/main/java/de/pixart/messenger/ui/MagicCreateActivity.java index 5e41ad326..0d5759b6a 100644 --- a/src/main/java/de/pixart/messenger/ui/MagicCreateActivity.java +++ b/src/main/java/de/pixart/messenger/ui/MagicCreateActivity.java @@ -39,6 +39,15 @@ public class MagicCreateActivity extends XmppActivity implements TextWatcher { } @Override + public void onStart() { + super.onStart(); + final int theme = findTheme(); + if (this.mTheme != theme) { + recreate(); + } + } + + @Override protected void onCreate(final Bundle savedInstanceState) { if (getResources().getBoolean(R.bool.portrait_only)) { setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); |