Skip to content

Commit

Permalink
Remove hardcoded shortcut to upgrade screen
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rken committed Aug 10, 2023
1 parent 032f191 commit 7b25d7b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ class GeneralSettingsFragment : PreferenceFragment2() {
"core.bugreporter.enabled"
)?.isVisible = BuildConfigWrap.FLAVOR != BuildConfigWrap.Flavor.FOSS

findPreference<Preference>("upgrade")?.setOnPreferenceClickListener {
MainDirections.goToUpgradeFragment(forced = true).navigate()
true
}

super.onPreferencesCreated()
}

Expand Down
5 changes: 0 additions & 5 deletions app/src/main/res/xml/preferences_general.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@
app:key="debug.enabled"
app:summary="@string/debug_mode_explanation"
app:title="@string/debug_mode_label" />

<Preference
app:icon="@drawable/ic_baseline_stars_24"
app:key="upgrade"
app:title="@string/upgrade_screen_title" />
</PreferenceCategory>

</PreferenceScreen>

0 comments on commit 7b25d7b

Please sign in to comment.