[News] Show update notification when the client is ready
This commit is contained in:
parent
5fd5549b46
commit
7334e0c353
@ -138,8 +138,11 @@ namespace Components
|
||||
static bool showToast = true;
|
||||
if (revisionNumber > REVISION && showToast)
|
||||
{
|
||||
Toast::Show("cardicon_gears", "^4Update Available", "There is an update available for your client!", 5000);
|
||||
showToast = false;
|
||||
Scheduler::OnReady([]()
|
||||
{
|
||||
Toast::Show("cardicon_gears", "^4Update Available", "There is an update available for your client!", 5000);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user