fix and lint
This commit is contained in:
parent
0956871f77
commit
ee9f3c02f0
|
@ -120,7 +120,7 @@ struct LiveTVChannelItemElement: View {
|
|||
.stroke(isFocused ? Color.blue : Color.clear, lineWidth: 4))
|
||||
.cornerRadius(20)
|
||||
.scaleEffect(isFocused ? 1.1 : 1)
|
||||
.focusable(true)
|
||||
// .focusable(true)
|
||||
.focused($focused)
|
||||
.onChange(of: focused) { foc in
|
||||
withAnimation(.linear(duration: 0.15)) {
|
||||
|
|
|
@ -29,7 +29,8 @@ struct EpisodesRowView<RowManager>: View where RowManager: EpisodesRowManager {
|
|||
}
|
||||
} else {
|
||||
Menu {
|
||||
ForEach(Array(viewModel.seasonsEpisodes.keys).sorted(by: { $0.name ?? "" < $1.name ?? "" }), id: \.self) { season in
|
||||
ForEach(Array(viewModel.seasonsEpisodes.keys).sorted(by: { $0.indexNumber ?? 0 < $1.indexNumber ?? 0 }),
|
||||
id: \.self) { season in
|
||||
Button {
|
||||
viewModel.select(season: season)
|
||||
} label: {
|
||||
|
|
Loading…
Reference in New Issue