mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-14 13:30:23 +00:00
fixed SOMEONE's bad UI taste
This commit is contained in:
parent
7e76b6f3b2
commit
519f94dc9f
1 changed files with 15 additions and 18 deletions
|
|
@ -590,27 +590,24 @@ struct MediaInfoView: View {
|
|||
Text(NSLocalizedString("Episodes", comment: ""))
|
||||
.font(.system(size: 22, weight: .bold))
|
||||
.foregroundColor(.primary)
|
||||
|
||||
Spacer()
|
||||
|
||||
HStack(spacing: 4) {
|
||||
if isGroupedBySeasons || episodeLinks.count > episodeChunkSize {
|
||||
HStack(spacing: 8) {
|
||||
if isGroupedBySeasons {
|
||||
seasonSelectorStyled
|
||||
}
|
||||
Spacer()
|
||||
if episodeLinks.count > episodeChunkSize {
|
||||
rangeSelectorStyled
|
||||
.padding(.trailing, 4)
|
||||
}
|
||||
}
|
||||
.padding(.top, -8)
|
||||
sourceButton
|
||||
menuButton
|
||||
}
|
||||
if isGroupedBySeasons || episodeLinks.count > episodeChunkSize {
|
||||
HStack {
|
||||
if isGroupedBySeasons {
|
||||
seasonSelectorStyled
|
||||
} else {
|
||||
Spacer(minLength: 0)
|
||||
}
|
||||
Spacer()
|
||||
if episodeLinks.count > episodeChunkSize {
|
||||
rangeSelectorStyled
|
||||
.padding(.trailing, 4)
|
||||
}
|
||||
|
||||
sourceButton
|
||||
menuButton
|
||||
}
|
||||
.padding(.top, -8)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue