mirror of
				https://github.com/MinimalBible/MinimalBible
				synced 2025-10-31 09:30:25 -04:00 
			
		
		
		
	Fix title text not showing correctly
This commit is contained in:
		| @ -13,7 +13,6 @@ | |||||||
|         android:theme="@style/MinimalBible"> |         android:theme="@style/MinimalBible"> | ||||||
|         <activity |         <activity | ||||||
|             android:name=".activity.downloader.DownloadActivity" |             android:name=".activity.downloader.DownloadActivity" | ||||||
|             android:exported="true" |  | ||||||
|             android:label="@string/app_name" /> |             android:label="@string/app_name" /> | ||||||
|         <activity |         <activity | ||||||
|             android:name=".activity.settings.MinimalBibleSettings" |             android:name=".activity.settings.MinimalBibleSettings" | ||||||
|  | |||||||
| @ -145,6 +145,8 @@ public class DownloadActivity extends BaseActivity implements | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     private void setTitle(String title) { |     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); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Bradlee Speice
					Bradlee Speice