From 5f9ddf9ff57a02ec2b83f1901d56ec97d4a01b5b Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 6 Feb 2021 12:51:40 -0500 Subject: [PATCH] Use AndroidX version of ContextThemeWrapper --- .../ui/browse/extension/details/SourcePreferencesController.kt | 2 +- .../java/eu/kanade/tachiyomi/ui/setting/SettingsController.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/details/SourcePreferencesController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/details/SourcePreferencesController.kt index 506ede973d..b98f211613 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/details/SourcePreferencesController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/extension/details/SourcePreferencesController.kt @@ -4,10 +4,10 @@ import android.annotation.SuppressLint import android.content.Context import android.os.Bundle import android.util.TypedValue -import android.view.ContextThemeWrapper import android.view.LayoutInflater import android.view.View import android.view.ViewGroup +import androidx.appcompat.view.ContextThemeWrapper import androidx.core.os.bundleOf import androidx.preference.DialogPreference import androidx.preference.EditTextPreference diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsController.kt index 2d0287451b..d0553e7745 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsController.kt @@ -6,11 +6,11 @@ import android.content.Context import android.graphics.Color import android.os.Bundle import android.util.TypedValue -import android.view.ContextThemeWrapper import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.appcompat.app.AppCompatActivity +import androidx.appcompat.view.ContextThemeWrapper import androidx.core.view.updatePadding import androidx.preference.PreferenceController import androidx.preference.PreferenceGroup