2
2
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:
shannon 2025-04-09 15:05:45 -04:00
parent 1ae72b9431
commit ff0aa34515

View File

@ -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 {