test fixes again 😭

This commit is contained in:
Francesco 2025-05-31 18:23:37 +02:00
parent b7ec052ab1
commit 59e1a47b52
2 changed files with 14 additions and 1 deletions

View file

@ -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)

View file

@ -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 {