From b9736df7e0bc66ddf82424f7348a067f898d7e51 Mon Sep 17 00:00:00 2001 From: arkon Date: Fri, 6 Aug 2021 15:38:16 -0400 Subject: [PATCH] Re-enable preview build things --- app/build.gradle.kts | 2 +- .../kanade/tachiyomi/ui/setting/SettingsTrackingController.kt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 739648832..b96984817 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -47,7 +47,7 @@ android { splits { abi { - isEnable = false + isEnable = true reset() include(*SUPPORTED_ABIS.toTypedArray()) isUniversalApk = true diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsTrackingController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsTrackingController.kt index b35907353..1305dab49 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsTrackingController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsTrackingController.kt @@ -20,6 +20,7 @@ import eu.kanade.tachiyomi.ui.setting.track.TrackLoginDialog import eu.kanade.tachiyomi.ui.setting.track.TrackLogoutDialog import eu.kanade.tachiyomi.util.preference.add import eu.kanade.tachiyomi.util.preference.defaultValue +import eu.kanade.tachiyomi.util.preference.iconRes import eu.kanade.tachiyomi.util.preference.infoPreference import eu.kanade.tachiyomi.util.preference.onClick import eu.kanade.tachiyomi.util.preference.preferenceCategory @@ -100,6 +101,7 @@ class SettingsTrackingController : LoginPreference(context).apply { key = Keys.trackUsername(service.id) titleRes = service.nameRes() + iconRes = service.getLogo() onClick { if (service.isLogged) { if (service is NoLoginTrackService) {