mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-09-20 03:10:57 +00:00
Fix padding on toolbar buttons
This commit is contained in:
parent
6e7cf82618
commit
ff90d0381c
@ -39,6 +39,7 @@ struct ToolbarButtonStyle: ButtonStyle {
|
|||||||
} else {
|
} else {
|
||||||
configuration
|
configuration
|
||||||
.label
|
.label
|
||||||
|
.padding(EdgeInsets(top: 6, leading: 8, bottom: 6, trailing: 8))
|
||||||
.background(colorScheme == .light ? lightColor : darkColor)
|
.background(colorScheme == .light ? lightColor : darkColor)
|
||||||
.foregroundColor(.white)
|
.foregroundColor(.white)
|
||||||
.clipShape(RoundedRectangle(cornerRadius: 5))
|
.clipShape(RoundedRectangle(cornerRadius: 5))
|
||||||
|
Loading…
Reference in New Issue
Block a user