mirror of
https://github.com/yattee/yattee.git
synced 2025-11-15 22:48:43 +00:00
Fix button styling and safe area handling on iOS
Added plain button style for rate increase/decrease buttons on iOS. Fixed safe area insets in VerticalCells to respect sidebar navigation style on iOS.
This commit is contained in:
@@ -262,6 +262,8 @@ struct PlaybackSettings: View {
|
||||
.controlSize(.large)
|
||||
.frame(minWidth: 32, minHeight: 28)
|
||||
.fixedSize()
|
||||
#elseif os(iOS)
|
||||
.buttonStyle(.plain)
|
||||
#else
|
||||
.buttonStyle(.bordered)
|
||||
.controlSize(.large)
|
||||
@@ -297,6 +299,8 @@ struct PlaybackSettings: View {
|
||||
.controlSize(.large)
|
||||
.frame(minWidth: 32, minHeight: 28)
|
||||
.fixedSize()
|
||||
#elseif os(iOS)
|
||||
.buttonStyle(.plain)
|
||||
#else
|
||||
.buttonStyle(.bordered)
|
||||
.controlSize(.large)
|
||||
|
||||
Reference in New Issue
Block a user