Added plugin_error_notifications_enabled preference

This will allow user to control whether flashes and notifications for plugin errors are enabled or not.

The `TermuxPreferenceConstants` classes has been updated to `v0.4.0`. Check its Changelog sections for info on changes.
This commit is contained in:
agnostic-apollo
2021-03-19 22:49:06 +05:00
parent 7d53a147d8
commit 8612a1d0f8
5 changed files with 40 additions and 2 deletions

View File

@@ -16,6 +16,12 @@
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" />
</PreferenceCategory>
</PreferenceScreen>