mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-07 11:09:49 +08:00
This will allow users to control if a notification should be shown with the crash info when app is restarted after a crash The `TermuxPreferenceConstants` classes has been updated to `v0.8.0`. Check its Changelog section for info on changes.
34 lines
1.2 KiB
XML
34 lines
1.2 KiB
XML
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<PreferenceCategory
|
|
app:key="logging"
|
|
app:title="@string/logging_header">
|
|
|
|
<ListPreference
|
|
app:defaultValue="1"
|
|
app:key="log_level"
|
|
app:title="@string/log_level_title"
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:key="terminal_view_key_logging_enabled"
|
|
app:summaryOff="@string/terminal_view_key_logging_off"
|
|
app:summaryOn="@string/terminal_view_key_logging_on"
|
|
app:title="@string/terminal_view_key_logging_title" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:key="plugin_error_notifications_enabled"
|
|
app:summaryOff="@string/plugin_error_notifications_off"
|
|
app:summaryOn="@string/plugin_error_notifications_on"
|
|
app:title="@string/plugin_error_notifications_title" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:key="crash_report_notifications_enabled"
|
|
app:summaryOff="@string/crash_report_notifications_off"
|
|
app:summaryOn="@string/crash_report_notifications_on"
|
|
app:title="@string/crash_report_notifications_title" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|