diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/UpdaterActivity.java | 5 | ||||
-rw-r--r-- | src/main/res/layout/activity_updater.xml | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/UpdaterActivity.java b/src/main/java/de/pixart/messenger/ui/UpdaterActivity.java index fbed2daeb..046c9cba0 100644 --- a/src/main/java/de/pixart/messenger/ui/UpdaterActivity.java +++ b/src/main/java/de/pixart/messenger/ui/UpdaterActivity.java @@ -46,6 +46,7 @@ public class UpdaterActivity extends XmppActivity { String store; ProgressDialog mProgressDialog; DownloadTask downloadTask; + TextView textView; @Override protected void onCreate(Bundle savedInstanceState) { @@ -56,8 +57,7 @@ public class UpdaterActivity extends XmppActivity { this.mTheme = findTheme(); setTheme(this.mTheme); - TextView textView = findViewById(R.id.updater); - textView.setText(R.string.update_info); + textView = findViewById(R.id.updater); mProgressDialog = new ProgressDialog(UpdaterActivity.this) { //show warning on back pressed @@ -85,6 +85,7 @@ public class UpdaterActivity extends XmppActivity { this.mTheme = findTheme(); setTheme(this.mTheme); setTitle(getString(R.string.update_service)); + textView.setText(R.string.update_info); setSupportActionBar(findViewById(R.id.toolbar)); configureActionBar(getSupportActionBar()); if (getIntent() != null && getIntent().getStringExtra("update").equals("PixArtMessenger_UpdateService")) { diff --git a/src/main/res/layout/activity_updater.xml b/src/main/res/layout/activity_updater.xml index 7dc7bae15..5079bb605 100644 --- a/src/main/res/layout/activity_updater.xml +++ b/src/main/res/layout/activity_updater.xml @@ -18,7 +18,6 @@ android:layout_below="@id/toolbar" android:layout_centerHorizontal="true" android:padding="@dimen/card_padding_regular" - android:text="Current" android:textAppearance="@style/TextAppearance.Conversations.Body1" android:textStyle="normal" /> |