From 2562fecd31bce18ba708033e5b69736dc82e737d Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Thu, 25 Jan 2024 10:56:43 -0700 Subject: [PATCH] Explain in the settings that displaying under cutouts also displays under the keyboard. https://redmine.stoutner.com/issues/1148 --- .../com/stoutner/privacybrowser/dialogs/AddDomainDialog.kt | 2 +- .../stoutner/privacybrowser/fragments/SettingsFragment.kt | 3 ++- app/src/main/res/values-de/strings.xml | 5 +++-- app/src/main/res/values-es/strings.xml | 7 ++++--- app/src/main/res/values-fr/strings.xml | 2 +- app/src/main/res/values-it/strings.xml | 5 +++-- app/src/main/res/values-ru/strings.xml | 5 +++-- app/src/main/res/values/strings.xml | 7 ++++--- build.gradle | 2 +- 9 files changed, 22 insertions(+), 16 deletions(-) diff --git a/app/src/main/java/com/stoutner/privacybrowser/dialogs/AddDomainDialog.kt b/app/src/main/java/com/stoutner/privacybrowser/dialogs/AddDomainDialog.kt index 309a615c..be5af10b 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/dialogs/AddDomainDialog.kt +++ b/app/src/main/java/com/stoutner/privacybrowser/dialogs/AddDomainDialog.kt @@ -153,4 +153,4 @@ class AddDomainDialog : DialogFragment() { // Return the alert dialog. return alertDialog } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/stoutner/privacybrowser/fragments/SettingsFragment.kt b/app/src/main/java/com/stoutner/privacybrowser/fragments/SettingsFragment.kt index 45496278..61d45ef1 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/fragments/SettingsFragment.kt +++ b/app/src/main/java/com/stoutner/privacybrowser/fragments/SettingsFragment.kt @@ -1,5 +1,5 @@ /* - * Copyright 2016-2023 Soren Stoutner . + * Copyright 2016-2024 Soren Stoutner . * * This file is part of Privacy Browser Android . * @@ -169,6 +169,7 @@ class SettingsFragment : PreferenceFragmentCompat() { // Set the preference dependencies. domStoragePreference.dependency = getString(R.string.javascript_key) hideAppBarPreference.dependency = getString(R.string.full_screen_browsing_mode_key) + displayUnderCutoutsPreference.dependency = getString(R.string.full_screen_browsing_mode_key) // Get strings from the preferences. val userAgentName = sharedPreferences.getString(getString(R.string.user_agent_key), getString(R.string.user_agent_default_value)) diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 09f25b8a..294e0777 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -1,7 +1,7 @@ Löscht Cookies, DOM-Storage, Formular-Daten, das Logcat Systemlogbuch und den WebView-Cache, sowie die gesamten “app_webview”- und “cache”-Ordner. diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index d1aa1313..a8fc837e 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -1,9 +1,9 @@ Borra cookies, almacenamiento DOM, datos de formulario, el logcat y la caché de WebView. diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 83e2737a..7d1e7703 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -636,7 +636,7 @@ Masquer la barre d\'application Masquer la barre d\'applications contenant l\'URL. Afficher sous les éléments découpés - Affiche le site web sous les éléments découpés, tels que les encoches d\'appareil photo. + Affiche le site web sous les éléments découpés, tels que les encoches d\'appareil photo. When this is enabled, Privacy Browser will also be drawn under the keyboard. La modification de ce paramètre entraînera le redémarrage de Privacy Browser. Tout effacer diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 50e4103d..065e357c 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -1,7 +1,7 @@ Cancella i cookies, il DOM storage, i dati dei moduli, il logcat e la cache di WebView. Cancella completamente le cartelle “app_webview” e “cache”. diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index c736a79d..29988ba3 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -1,7 +1,7 @@ Очищает cookie, DOM-хранилище, данные форм, logcat и кэш WebView. После этого вручную удаляет каталоги "app_webview" и "cache". diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 8e731097..0fd54d15 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,7 +1,7 @@ Clears cookies, DOM storage, form data, the logcat, and WebView’s cache. Then manually deletes the entire “app_webview” and “cache” directories. diff --git a/build.gradle b/build.gradle index 5bd3722b..c65a4ca3 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:8.2.1' + classpath 'com.android.tools.build:gradle:8.2.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0" // NOTE: Do not place your application dependencies here; they belong -- 2.45.2