diff --git a/VoiceInk/Notifications/AppNotificationView.swift b/VoiceInk/Notifications/AppNotificationView.swift index 476c72a..20722ad 100644 --- a/VoiceInk/Notifications/AppNotificationView.swift +++ b/VoiceInk/Notifications/AppNotificationView.swift @@ -65,7 +65,7 @@ struct AppNotificationView: View { .padding(.horizontal, 16) .padding(.vertical, 12) } - .frame(minWidth: 280, maxWidth: 380, minHeight: 44) + .frame(minWidth: 220, maxWidth: 750, minHeight: 44) .background( RoundedRectangle(cornerRadius: 12, style: .continuous) .fill(.clear) diff --git a/VoiceInk/Notifications/NotificationManager.swift b/VoiceInk/Notifications/NotificationManager.swift index ea115ad..704b4cf 100644 --- a/VoiceInk/Notifications/NotificationManager.swift +++ b/VoiceInk/Notifications/NotificationManager.swift @@ -13,7 +13,7 @@ class NotificationManager { func showNotification( title: String, type: AppNotificationView.NotificationType, - duration: TimeInterval = 5.0, + duration: TimeInterval = 3.0, onTap: (() -> Void)? = nil ) { dismissTimer?.invalidate()