mirror of
https://github.com/yattee/yattee.git
synced 2025-11-25 18:58:21 +00:00
Animations improvements
This commit is contained in:
@@ -116,7 +116,7 @@ final class NavigationModel: ObservableObject {
|
||||
if presentingPlayer { delay = 1.0 }
|
||||
#endif
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + delay) {
|
||||
withAnimation(.linear(duration: 0.3)) {
|
||||
withAnimation(Constants.overlayAnimation) {
|
||||
navigation.presentingChannel = true
|
||||
}
|
||||
}
|
||||
@@ -156,7 +156,7 @@ final class NavigationModel: ObservableObject {
|
||||
if presentingPlayer { delay = 1.0 }
|
||||
#endif
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + delay) {
|
||||
withAnimation(.linear(duration: 0.3)) {
|
||||
withAnimation(Constants.overlayAnimation) {
|
||||
navigation.presentingPlaylist = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user