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.
This commit is contained in:
lynxnb 2022-07-12 12:35:01 +02:00 committed by ◱ Mark
parent 5aa2a4cd1c
commit 30667a0899
3 changed files with 0 additions and 10 deletions

View File

@ -21,7 +21,6 @@ class PreferenceSettings @Inject constructor(@ApplicationContext private val con
var selectAction by sharedPreferences(context, false) var selectAction by sharedPreferences(context, false)
var perfStats by sharedPreferences(context, false) var perfStats by sharedPreferences(context, false)
var logLevel by sharedPreferences(context, 3) var logLevel by sharedPreferences(context, 3)
var logCompact by sharedPreferences(context, false)
// System // System
var isDocked by sharedPreferences(context, true) var isDocked by sharedPreferences(context, true)

View File

@ -36,9 +36,6 @@
<string name="perf_stats_desc_off">Performance Statistics will not be shown</string> <string name="perf_stats_desc_off">Performance Statistics will not be shown</string>
<string name="perf_stats_desc_on">Performance Statistics will be shown in the top-left corner</string> <string name="perf_stats_desc_on">Performance Statistics will be shown in the top-left corner</string>
<string name="log_level">Log Level</string> <string name="log_level">Log Level</string>
<string name="log_compact">Compact Logs</string>
<string name="log_compact_desc_on">Logs will be displayed in a compact form factor</string>
<string name="log_compact_desc_off">Logs will be displayed in a verbose form factor</string>
<!-- Settings - System --> <!-- Settings - System -->
<string name="system">System</string> <string name="system">System</string>
<string name="use_docked">Use Docked Mode</string> <string name="use_docked">Use Docked Mode</string>

View File

@ -40,12 +40,6 @@
app:key="log_level" app:key="log_level"
app:title="@string/log_level" app:title="@string/log_level"
app:useSimpleSummaryProvider="true" /> app:useSimpleSummaryProvider="true" />
<CheckBoxPreference
android:defaultValue="false"
android:summaryOff="@string/log_compact_desc_off"
android:summaryOn="@string/log_compact_desc_on"
app:key="log_compact"
app:title="@string/log_compact" />
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory <PreferenceCategory
android:key="category_keys" android:key="category_keys"