aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main/java/de/pixart/messenger/ui/RecordingActivity.java2
-rw-r--r--src/main/java/de/pixart/messenger/ui/UpdaterActivity.java9
2 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/RecordingActivity.java b/src/main/java/de/pixart/messenger/ui/RecordingActivity.java
index 3aaa6b42b..b49566c27 100644
--- a/src/main/java/de/pixart/messenger/ui/RecordingActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/RecordingActivity.java
@@ -70,6 +70,8 @@ public class RecordingActivity extends XmppActivity implements View.OnClickListe
@Override
protected void onStart() {
super.onStart();
+ this.mTheme = findTheme();
+ setTheme(this.mTheme);
Log.d(Config.LOGTAG, "output: " + getOutputFile());
if (!startRecording()) {
mStopButton.setEnabled(false);
diff --git a/src/main/java/de/pixart/messenger/ui/UpdaterActivity.java b/src/main/java/de/pixart/messenger/ui/UpdaterActivity.java
index 562b75313..96d53aa97 100644
--- a/src/main/java/de/pixart/messenger/ui/UpdaterActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/UpdaterActivity.java
@@ -50,6 +50,10 @@ public class UpdaterActivity extends XmppActivity {
//set activity
setContentView(R.layout.activity_updater);
+
+ this.mTheme = findTheme();
+ setTheme(this.mTheme);
+
TextView textView = findViewById(R.id.updater);
textView.setText(R.string.update_info);
@@ -76,6 +80,11 @@ public class UpdaterActivity extends XmppActivity {
@Override
protected void onStart() {
super.onStart();
+ this.mTheme = findTheme();
+ setTheme(this.mTheme);
+ setTitle(getString(R.string.update_service));
+ setSupportActionBar(findViewById(R.id.toolbar));
+ configureActionBar(getSupportActionBar());
if (getIntent() != null && getIntent().getStringExtra("update").equals("PixArtMessenger_UpdateService")) {
try {
appURI = getIntent().getStringExtra("url");