Merge pull request #1363 from Bnyro/master

fix the app icon option
This commit is contained in:
Bnyro 2022-09-24 10:27:00 +02:00 committed by GitHub
commit 3a1dbccbd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,7 +100,7 @@ object ThemeHelper {
for (activityAlias in activityAliases) { for (activityAlias in activityAliases) {
val activityClass = "com.github.libretube." + val activityClass = "com.github.libretube." +
if (activityAlias == activityAliases[0]) { if (activityAlias == activityAliases[0]) {
"activities.MainActivity" // default icon/activity "ui.activities.MainActivity" // default icon/activity
} else { } else {
activityAlias activityAlias
} }
@ -116,7 +116,7 @@ object ThemeHelper {
// set the class name for the activity alias // set the class name for the activity alias
val newLogoActivityClass = "com.github.libretube." + val newLogoActivityClass = "com.github.libretube." +
if (newLogoActivityAlias == activityAliases[0]) { if (newLogoActivityAlias == activityAliases[0]) {
"activities.MainActivity" // default icon/activity "ui.activities.MainActivity" // default icon/activity
} else { } else {
newLogoActivityAlias newLogoActivityAlias
} }