Tweak animations

This commit is contained in:
Leon Böttger committed 2025-08-24 10:53:34 +02:00
1 parent c59321edd8
commit 8742b203a6
1 file changed
+2 -2
+2 -2
View File
@@ -30,13 +30,13 @@ class SendModel: ObservableObject, OutboundAppDelegate {
} }
func addDevice(device: RemoteDeviceInfo) { func addDevice(device: RemoteDeviceInfo) {
withAnimation { withAnimation(.smooth) {
foundDevices.append(device) foundDevices.append(device)
} }
} }
func removeDevice(id: String) { func removeDevice(id: String) {
withAnimation { withAnimation(.smooth) {
foundDevices.removeAll { $0.id == id } foundDevices.removeAll { $0.id == id }
} }
} }