mirror of
https://github.com/yattee/yattee.git
synced 2025-11-26 03:08:29 +00:00
Favorites improvements
This commit is contained in:
@@ -237,6 +237,13 @@ final class NavigationModel: ObservableObject {
|
||||
presentingAlert = true
|
||||
}
|
||||
|
||||
func hideViewsAboveBrowser() {
|
||||
player.hide()
|
||||
presentingChannel = false
|
||||
presentingPlaylist = false
|
||||
presentingOpenVideos = false
|
||||
}
|
||||
|
||||
func hideKeyboard() {
|
||||
#if os(iOS)
|
||||
UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
|
||||
|
||||
Reference in New Issue
Block a user