Skip to content

Commit

Permalink
Extract string resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmud0808 committed Jan 2, 2024
1 parent 102cc54 commit 7c81261
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/res/layout/fragment_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:isChecked="true"
app:summaryText="Maintain a subtle tint for text"
app:titleText="Tint text color" />
app:summaryText="@string/tint_text_desc"
app:titleText="@string/tint_text_title" />

<com.drdisagree.colorblendr.ui.widgets.SwitchWidget
android:id="@+id/override_colors_manually"
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,6 @@
<string name="app_service_title">%s service</string>
<string name="app_service_desc_on">Theming is active</string>
<string name="app_service_desc_off">Theming is inactive</string>
<string name="tint_text_title">Tint text color</string>
<string name="tint_text_desc">Maintain a subtle tint for text</string>
</resources>

0 comments on commit 7c81261

Please sign in to comment.