duration was not specified for error notification on failure getLeaderBoard API and would persist for infinite time

This commit is contained in:
avi123nash 2021-01-19 16:09:47 +05:30
parent 5518ef1ae6
commit 37ff58fed3

View file

@ -218,7 +218,7 @@ function updateLeaderboards() {
})
.catch((e) => {
hideBackgroundLoader();
Notifications.add("Something went wrong: " + e.message, -1);
Notifications.add("Something went wrong: " + e.message, -1, 3);
});
}