mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-21 22:54:53 +08:00
Fix offline capability: Cache first -> fetch from network second. From now on, updates are only possible by increasing cacheVersion
This commit is contained in:
@@ -2258,7 +2258,10 @@ class NetworkStatusUI {
|
||||
}
|
||||
|
||||
_showOfflineMessage() {
|
||||
Events.fire('notify-user', Localization.getTranslation("notifications.offline"));
|
||||
Events.fire('notify-user', {
|
||||
message: Localization.getTranslation("notifications.offline"),
|
||||
persistent: true
|
||||
});
|
||||
}
|
||||
|
||||
_showOnlineMessage() {
|
||||
|
||||
Reference in New Issue
Block a user