set time for updating index notif

This commit is contained in:
altalk23 2023-11-21 20:38:13 +03:00
parent 954ed1085b
commit f7962246ec

View file

@ -174,6 +174,7 @@ struct CustomMenuLayer : Modify<CustomMenuLayer, MenuLayer> {
INDEX_UPDATE_NOTIF = Notification::create(
"Updating Index", NotificationIcon::Loading, 0
);
INDEX_UPDATE_NOTIF->setTime(NOTIFICATION_LONG_TIME);
INDEX_UPDATE_NOTIF->show();
Index::get()->update();
}