Skip to content

Commit

Permalink
[fix]: titles in settings
Browse files Browse the repository at this point in the history
  • Loading branch information
F0x1d committed Jun 30, 2024
1 parent 614ce55 commit 086ce45
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import dagger.hilt.android.AndroidEntryPoint
@AndroidEntryPoint
class SettingsLinksFragment : BasePreferenceFragment() {

override val title = Strings.about_app
override val title = Strings.links
override val showBackArrow = true

override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto">

<PreferenceCategory
android:title="@string/links"
android:title="@string/about_app"
app:iconSpaceReserved="false"
app:allowDividerAbove="false">
<Preference
Expand Down
8 changes: 4 additions & 4 deletions feature/feature-settings/src/main/res/xml/settings_menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
android:title="@string/about_app"
app:iconSpaceReserved="false"
app:allowDividerAbove="false">
<Preference
android:title="@string/links"
android:key="pref_settings_links"
android:icon="@drawable/ic_add_link" />
<Preference
android:title="1.0.0 (1)"
android:key="pref_settings_app_version"
android:icon="@drawable/ic_settings_info"
android:selectable="false" />
<Preference
android:title="@string/links"
android:key="pref_settings_links"
android:icon="@drawable/ic_add_link" />
</PreferenceCategory>

</PreferenceScreen>

0 comments on commit 086ce45

Please sign in to comment.