From 30667a0899d642c8c88acf2d90aad79e24c407c6 Mon Sep 17 00:00:00 2001 From: lynxnb Date: Tue, 12 Jul 2022 12:35:01 +0200 Subject: [PATCH] Remove unused `Compact Logs` settings Since we don't have a log viewer in the app anymore, the setting was left unused and can be safely removed. --- app/src/main/java/emu/skyline/utils/PreferenceSettings.kt | 1 - app/src/main/res/values/strings.xml | 3 --- app/src/main/res/xml/preferences.xml | 6 ------ 3 files changed, 10 deletions(-) diff --git a/app/src/main/java/emu/skyline/utils/PreferenceSettings.kt b/app/src/main/java/emu/skyline/utils/PreferenceSettings.kt index 73eed4cc..452cbc00 100644 --- a/app/src/main/java/emu/skyline/utils/PreferenceSettings.kt +++ b/app/src/main/java/emu/skyline/utils/PreferenceSettings.kt @@ -21,7 +21,6 @@ class PreferenceSettings @Inject constructor(@ApplicationContext private val con var selectAction by sharedPreferences(context, false) var perfStats by sharedPreferences(context, false) var logLevel by sharedPreferences(context, 3) - var logCompact by sharedPreferences(context, false) // System var isDocked by sharedPreferences(context, true) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index e2294514..1e273aaf 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -36,9 +36,6 @@ Performance Statistics will not be shown Performance Statistics will be shown in the top-left corner Log Level - Compact Logs - Logs will be displayed in a compact form factor - Logs will be displayed in a verbose form factor System Use Docked Mode diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index c24a506a..5b07a1c4 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -40,12 +40,6 @@ app:key="log_level" app:title="@string/log_level" app:useSimpleSummaryProvider="true" /> -