mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Channel/playlist view transition improvements
This commit is contained in:
@@ -156,9 +156,8 @@ struct AppTabNavigation: View {
|
||||
.environmentObject(player)
|
||||
.environmentObject(subscriptions)
|
||||
.environmentObject(thumbnailsModel)
|
||||
.transition(.asymmetric(insertion: .flipFromBottom, removal: .move(edge: .bottom)))
|
||||
} else {
|
||||
EmptyView()
|
||||
.id("channelVideos")
|
||||
.transition(.move(edge: .bottom))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -171,9 +170,8 @@ struct AppTabNavigation: View {
|
||||
.environmentObject(player)
|
||||
.environmentObject(subscriptions)
|
||||
.environmentObject(thumbnailsModel)
|
||||
.transition(.asymmetric(insertion: .flipFromBottom, removal: .move(edge: .bottom)))
|
||||
} else {
|
||||
EmptyView()
|
||||
.id("channelPlaylist")
|
||||
.transition(.move(edge: .bottom))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user