mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-11-21 23:48:18 -05:00
Fix title text not showing correctly
This commit is contained in:
parent
d21cf4777f
commit
e882512a78
@ -13,7 +13,6 @@
|
||||
android:theme="@style/MinimalBible">
|
||||
<activity
|
||||
android:name=".activity.downloader.DownloadActivity"
|
||||
android:exported="true"
|
||||
android:label="@string/app_name" />
|
||||
<activity
|
||||
android:name=".activity.settings.MinimalBibleSettings"
|
||||
|
@ -145,6 +145,8 @@ public class DownloadActivity extends BaseActivity implements
|
||||
}
|
||||
|
||||
private void setTitle(String title) {
|
||||
toolbar.setTitle(title);
|
||||
// toolbar.setTitle() doesn't work on activity load, otherwise that would
|
||||
// be the preference.
|
||||
getSupportActionBar().setTitle(title);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user