Skip to content

Commit

Permalink
Reduced top and bottom margins on popup menus to avoid the need for s…
Browse files Browse the repository at this point in the history
…crolling
  • Loading branch information
QuantumBadger committed Dec 29, 2023
1 parent c0b8d83 commit 25116e3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/assets/changelog-alpha.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Made links blue again in dark themes
Added post tap action preference: open link, open comments, or use old "post title opens comments" behaviour
Fixed long-click menu not appearing when post tap action changed from the default
Reduced top and bottom margins on popup menus to avoid the need for scrolling

/Alpha 346 (2023-12-18)
When "post title opens comments" is enabled, clicking the inline image preview now opens the post rather than the comments
Expand Down
1 change: 1 addition & 0 deletions src/main/assets/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Made links blue again in dark themes
Added post tap action preference: open link, open comments, or use old "post title opens comments" behaviour
Fixed long-click menu not appearing when post tap action changed from the default
Reduced top and bottom margins on popup menus to avoid the need for scrolling

109/1.23
Significantly improved image gallery load speed
Expand Down
6 changes: 6 additions & 0 deletions src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@

<style name="RR.MaterialOverlay.Dialog.Alert" parent="ThemeOverlay.Material3.MaterialAlertDialog">
<item name="materialAlertDialogBodyTextStyle">@style/RR.Dialog.ListItemText</item>
<item name="alertDialogStyle">@style/RR.AlertDialogStyle</item>
</style>

<style name="RR.AlertDialogStyle" parent="MaterialAlertDialog.Material3">
<item name="backgroundInsetTop">4dp</item>
<item name="backgroundInsetBottom">4dp</item>
</style>

<style name="RR.Dialog.ListItemText" parent="TextAppearance.Material3.BodyMedium">
Expand Down

0 comments on commit 25116e3

Please sign in to comment.