mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-20 16:12:50 +00:00
test fixes again 😭
This commit is contained in:
parent
b7ec052ab1
commit
59e1a47b52
2 changed files with 14 additions and 1 deletions
|
|
@ -126,6 +126,18 @@ struct TabBar: View {
|
|||
.onDisappear {
|
||||
keyboardFocus = false
|
||||
}
|
||||
|
||||
if !searchQuery.isEmpty {
|
||||
Button(action: {
|
||||
searchQuery = ""
|
||||
}) {
|
||||
Image(systemName: "xmark.circle.fill")
|
||||
.font(.footnote)
|
||||
.foregroundStyle(.gray)
|
||||
.opacity(0.7)
|
||||
}
|
||||
.buttonStyle(PlainButtonStyle())
|
||||
}
|
||||
}
|
||||
.frame(height: 24)
|
||||
.padding(8)
|
||||
|
|
|
|||
|
|
@ -821,11 +821,12 @@ struct MediaInfoView: View {
|
|||
|
||||
Text("Episodes might not be available yet or there could be an issue with the source.")
|
||||
.font(.body)
|
||||
.lineLimit(0)
|
||||
.foregroundColor(.secondary)
|
||||
.multilineTextAlignment(.center)
|
||||
.padding(.horizontal)
|
||||
}
|
||||
.padding(.vertical, 40)
|
||||
.padding(.vertical, 60)
|
||||
}
|
||||
|
||||
private var startWatchingText: String {
|
||||
|
|
|
|||
Loading…
Reference in a new issue