File tree Expand file tree Collapse file tree 4 files changed +2
-6
lines changed
java/org/cryptomator/presentation/ui/fragment
util/src/main/java/org/cryptomator/util Expand file tree Collapse file tree 4 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,6 @@ class SettingsFragment : PreferenceFragmentCompatLayout() {
186186 private fun setupLicense () {
187187 val licenseCategory = findPreference(LICENSE_ITEM_KEY ) as PreferenceCategory ?
188188 val licensePref = findPreference(SharedPreferencesHandler .MAIL ) as Preference ?
189- licenseCategory?.title = getString(R .string.screen_settings_license)
190189 licensePref?.isEnabled = true
191190 when {
192191 FlavorConfig .isPremiumFlavor -> {
Original file line number Diff line number Diff line change 706706 <string name =" screen_settings_clear_lru_cache_size" >Clear Cache</string >
707707 <string name =" screen_settings_lru_cache_changed__restart_toast" >Changes will be applied on next app restart</string >
708708
709- <string name =" screen_settings_license" >Premium</string >
710709 <string name =" screen_settings_license_title_unlock" >Unlock Full Version</string >
711710 <string name =" screen_settings_license_title_unlocked" >Full Version</string >
712711 <string name =" screen_settings_license_mail" >%1$s</string >
Original file line number Diff line number Diff line change 22<androidx .preference.PreferenceScreen xmlns : android =" http://schemas.android.com/apk/res/android"
33 android:id=" @+id/activity_root_view" >
44
5- <PreferenceCategory
6- android:key=" license"
7- android:title=" @string/screen_settings_license" >
5+ <PreferenceCategory android : key =" license" >
86
97 <androidx .preference.PreferenceScreen
108 android:enabled=" false"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package org.cryptomator.util
22
33object FlavorConfig {
44
5- /* * Premium flavors: Play Store and Accrescent editions. License enforcement is bypassed. */
5+ /* * Premium flavors ( Play Store and Accrescent editions) ship with full access, so license enforcement is bypassed. */
66 val isPremiumFlavor: Boolean
77 get() = BuildConfig .FLAVOR == " playstore" || BuildConfig .FLAVOR == " accrescent"
88
You can’t perform that action at this time.
0 commit comments