Skip to content

Commit

Permalink
feat: Quick settings button is now optional
Browse files Browse the repository at this point in the history
  • Loading branch information
crimera committed Aug 15, 2024
1 parent 0605ba0 commit e9e54e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ object SettingsResourcePatch: ResourcePatch() {
sideBtn.setAttribute("android:textAllCaps", "false")
sideBtn.setAttribute("android:background", "?android:attr/selectableItemBackground")
sideBtn.setAttribute("android:drawableLeft", "@drawable/ic_vector_settings_stroke")
sideBtn.setAttribute("android:drawableTint", "?attr/coreColorPrimaryText")
sideBtn.setAttribute("android:layout_height", "@dimen/docker_height")
sideBtn.setAttribute("android:layout_width", "wrap_content")
sideBtn.setAttribute("android:padding", "10dp")
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/twitter/settings/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
<string name="piko_pref_round_off_numbers">Round off numbers</string>
<string name="piko_pref_round_off_numbers_desc">Rounds off number as K and M </string>
<string name="piko_pref_debug_menu">debug menu for posts</string>
<string name="piko_pref_quick_settings">Enable quick settings</string>
<string name="piko_pref_quick_settings_summary">Adds a quick settings button at the sidebar</string>

<string name="piko_title_timeline">Timeline</string>
<string name="piko_pref_disable_auto_timeline_scroll">Disable auto timeline scroll on launch</string>
Expand Down

0 comments on commit e9e54e5

Please sign in to comment.