SPE 2663: Close notification on login.

This commit is contained in:
David Kocik 2025-02-17 10:21:52 +01:00 committed by Lukas Matena
parent 02bf385f8c
commit 3840397fb1

View File

@ -971,6 +971,7 @@ void Plater::priv::init()
std::string text = format(_u8L("Logged to Prusa Account as %1%."), username);
// login notification
this->notification_manager->close_notification_of_type(NotificationType::UserAccountID);
this->notification_manager->close_notification_of_type(NotificationType::FailedSecretVendorUpdateSync);
// show connect tab
this->notification_manager->push_notification(NotificationType::UserAccountID, NotificationManager::NotificationLevel::ImportantNotificationLevel, text);