mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
set time for updating index notif
This commit is contained in:
parent
954ed1085b
commit
f7962246ec
1 changed files with 1 additions and 0 deletions
|
@ -174,6 +174,7 @@ struct CustomMenuLayer : Modify<CustomMenuLayer, MenuLayer> {
|
||||||
INDEX_UPDATE_NOTIF = Notification::create(
|
INDEX_UPDATE_NOTIF = Notification::create(
|
||||||
"Updating Index", NotificationIcon::Loading, 0
|
"Updating Index", NotificationIcon::Loading, 0
|
||||||
);
|
);
|
||||||
|
INDEX_UPDATE_NOTIF->setTime(NOTIFICATION_LONG_TIME);
|
||||||
INDEX_UPDATE_NOTIF->show();
|
INDEX_UPDATE_NOTIF->show();
|
||||||
Index::get()->update();
|
Index::get()->update();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue