mirror of
https://github.com/yattee/yattee.git
synced 2026-07-20 14:22:02 +00:00
Halve spacing between home shortcut cards
This commit is contained in:
@@ -43,9 +43,9 @@ struct HomeView: View {
|
|||||||
|
|
||||||
private var columns: [GridItem] {
|
private var columns: [GridItem] {
|
||||||
#if os(tvOS)
|
#if os(tvOS)
|
||||||
[GridItem(.adaptive(minimum: 280, maximum: 380), spacing: 32)]
|
[GridItem(.adaptive(minimum: 280, maximum: 380), spacing: 16)]
|
||||||
#else
|
#else
|
||||||
[GridItem(.adaptive(minimum: 150), spacing: 16)]
|
[GridItem(.adaptive(minimum: 150), spacing: 8)]
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -374,9 +374,9 @@ struct HomeView: View {
|
|||||||
|
|
||||||
private var shortcutsGrid: some View {
|
private var shortcutsGrid: some View {
|
||||||
#if os(tvOS)
|
#if os(tvOS)
|
||||||
let gridSpacing: CGFloat = 32
|
|
||||||
#else
|
|
||||||
let gridSpacing: CGFloat = 16
|
let gridSpacing: CGFloat = 16
|
||||||
|
#else
|
||||||
|
let gridSpacing: CGFloat = 8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
let shortcuts = settingsManager?.visibleShortcuts() ?? HomeShortcutItem.defaultOrder
|
let shortcuts = settingsManager?.visibleShortcuts() ?? HomeShortcutItem.defaultOrder
|
||||||
|
|||||||
Reference in New Issue
Block a user