mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-21 23:36:17 -04: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:
parent
8eb6e5bfab
commit
2131307fc6
6 changed files with 86 additions and 58 deletions
|
@ -2260,7 +2260,10 @@ class NetworkStatusUI {
|
|||
}
|
||||
|
||||
_showOfflineMessage() {
|
||||
Events.fire('notify-user', Localization.getTranslation("notifications.offline"));
|
||||
Events.fire('notify-user', {
|
||||
message: Localization.getTranslation("notifications.offline"),
|
||||
persistent: true
|
||||
});
|
||||
}
|
||||
|
||||
_showOnlineMessage() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue