feat(Notifications): Added push_success function (#1340)

This commit is contained in:
Rxann
2023-06-05 15:46:20 -04:00
committed by GitHub
parent afca330766
commit 56d9d39b71
16 changed files with 36 additions and 27 deletions

View File

@ -27,11 +27,10 @@ namespace big
if (components::button("Force Update Languages"))
{
g_thread_pool->push([]
{
g_thread_pool->push([] {
g_translation_service.update_language_packs();
g_notification_service->push("Translations", "Finished updating translations.");
g_notification_service->push_success("Translations", "Finished updating translations.");
});
}
}