mirror of
https://github.com/mastodon/mastodon-ios
synced 2025-04-11 22:58:02 +02:00
Improve layout of notification filter options
Contributes to IOS-398
This commit is contained in:
parent
1ae72b9431
commit
ff0aa34515
@ -286,7 +286,8 @@ extension NotificationPolicyView {
|
||||
.font(.caption)
|
||||
.frame(width: checkmarkWidth, height: checkmarkWidth)
|
||||
} else {
|
||||
Spacer()
|
||||
Rectangle()
|
||||
.fill(Color.clear)
|
||||
.frame(width: checkmarkWidth, height: checkmarkWidth)
|
||||
}
|
||||
|
||||
@ -295,9 +296,8 @@ extension NotificationPolicyView {
|
||||
Text(option.displaySubtitle)
|
||||
.font(.caption2)
|
||||
}
|
||||
.padding(5)
|
||||
}
|
||||
.padding()
|
||||
.padding(7)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
.onTapGesture {
|
||||
withAnimation {
|
||||
|
Loading…
x
Reference in New Issue
Block a user