Skip to content

Commit

Permalink
Misc: Change order of entries in settings
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rken committed Sep 24, 2023
1 parent b032ddf commit 642fb6a
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions app/src/main/res/xml/preferences_index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,22 @@
</PreferenceCategory>

<PreferenceCategory android:title="@string/settings_category_other_label">

<Preference
android:icon="@drawable/ic_baseline_stars_24"
android:key="core.sponsor.development"
app:singleLineTitle="false"
app:isPreferenceVisible="false"
app:summary="@string/settings_sponsor_development_summary"
app:title="@string/settings_sponsor_development_title"
tools:isPreferenceVisible="true" />

<Preference
android:icon="@drawable/ic_baseline_contact_support_24"
app:fragment="eu.darken.sdmse.main.ui.settings.support.SupportFragment"
app:summary="@string/settings_support_description"
app:title="@string/settings_support_label" />

<eu.darken.sdmse.common.preferences.IntentPreference
android:icon="@drawable/ic_changelog_onsurface"
android:key="core.changelog"
Expand All @@ -64,12 +80,6 @@
android:data="https://github.com/d4rken-org/sdmaid-se/releases" />
</eu.darken.sdmse.common.preferences.IntentPreference>

<Preference
android:icon="@drawable/ic_baseline_contact_support_24"
app:fragment="eu.darken.sdmse.main.ui.settings.support.SupportFragment"
app:summary="@string/settings_support_description"
app:title="@string/settings_support_label" />

<Preference
android:icon="@drawable/ic_heart"
app:fragment="eu.darken.sdmse.main.ui.settings.acks.AcknowledgementsFragment"
Expand All @@ -82,14 +92,5 @@
app:summary="@string/settings_privacy_policy_desc"
app:title="@string/settings_privacy_policy_label" />

<Preference
android:icon="@drawable/ic_baseline_stars_24"
android:key="core.sponsor.development"
app:singleLineTitle="false"
app:isPreferenceVisible="false"
app:summary="@string/settings_sponsor_development_summary"
app:title="@string/settings_sponsor_development_title"
tools:isPreferenceVisible="true" />

</PreferenceCategory>
</PreferenceScreen>

0 comments on commit 642fb6a

Please sign in to comment.