Skip to content

Commit

Permalink
chore: disable securityAdvisory
Browse files Browse the repository at this point in the history
  • Loading branch information
arm64v8a committed Apr 24, 2023
1 parent 5595b5f commit f8e98f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ object DataStore : OnPreferenceDataStoreChangeListener {
var hosts by configurationStore.string(Key.DNS_HOSTS)
var dnsNetwork by configurationStore.stringSet(Key.DNS_NETWORK)

var securityAdvisory by configurationStore.boolean(Key.SECURITY_ADVISORY) { true }
val securityAdvisory = false
var rulesProvider by configurationStore.stringToInt(Key.RULES_PROVIDER)
var enableLog by configurationStore.boolean(Key.ENABLE_LOG)
var logBufSize by configurationStore.int(Key.LOG_BUF_SIZE) { 0 }
Expand Down
6 changes: 0 additions & 6 deletions app/src/main/res/xml/global_preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,6 @@
app:key="acquireWakeLock"
app:summary="@string/acquire_wake_lock_summary"
app:title="@string/acquire_wake_lock" />
<SwitchPreference
app:defaultValue="true"
app:icon="@drawable/ic_baseline_security_24"
app:key="securityAdvisory"
app:summary="@string/insecure_warn_sum"
app:title="@string/insecure_warn" />
<EditTextPreference
app:defaultValue="15"
app:icon="@drawable/ic_baseline_flip_camera_android_24"
Expand Down

0 comments on commit f8e98f9

Please sign in to comment.