Hide keyboard on navigation

This commit is contained in:
Arkadiusz Fal
2022-08-09 21:14:05 +02:00
parent 5c9d17f265
commit a347474437
2 changed files with 7 additions and 0 deletions

View File

@@ -202,6 +202,8 @@ final class PlayerModel: ObservableObject {
}
#endif
navigation.hideKeyboard()
DispatchQueue.main.async { [weak self] in
withAnimation(.linear(duration: 0.25)) {
self?.presentingPlayer = true