Animate profile removal
Could only notice difference on iPad.
This commit is contained in:
parent
d4484f3307
commit
2aa4008a08
|
@ -131,9 +131,11 @@ extension ProfileView {
|
||||||
}
|
}
|
||||||
|
|
||||||
private func removeProfile() {
|
private func removeProfile() {
|
||||||
|
withAnimation {
|
||||||
profileManager.removeProfiles(withIds: [header.id])
|
profileManager.removeProfiles(withIds: [header.id])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
struct ShortcutsButton: View {
|
struct ShortcutsButton: View {
|
||||||
@ObservedObject private var productManager: ProductManager
|
@ObservedObject private var productManager: ProductManager
|
||||||
|
|
Loading…
Reference in New Issue