mirror of
https://github.com/yattee/yattee.git
synced 2026-05-14 03:15:03 +00:00
Use segmented picker style for tvOS grid columns count
This commit is contained in:
@@ -68,6 +68,7 @@ struct ViewOptionsSheet: View {
|
||||
Text("\(count)").tag(count)
|
||||
}
|
||||
}
|
||||
.pickerStyle(.segmented)
|
||||
}
|
||||
|
||||
if let hideWatched = hideWatched {
|
||||
|
||||
@@ -150,6 +150,7 @@ struct ManageChannelsView: View {
|
||||
Text("\(count)").tag(count)
|
||||
}
|
||||
}
|
||||
.pickerStyle(.segmented)
|
||||
#else
|
||||
Stepper(
|
||||
"viewOptions.columns \(min(max(1, gridColumns), gridConfig.maxColumns))",
|
||||
|
||||
@@ -299,6 +299,7 @@ struct SubscriptionsView: View {
|
||||
Text("\(count)").tag(count)
|
||||
}
|
||||
}
|
||||
.pickerStyle(.segmented)
|
||||
#else
|
||||
Stepper(
|
||||
"viewOptions.columns \(min(max(1, gridColumns), gridConfig.maxColumns))",
|
||||
|
||||
Reference in New Issue
Block a user