Browse Source

set stock translations on account changes

updates are done on switch/add/delete -
the latter is needed as a previously unused accout may be selected.
B. Petersen 4 năm trước cách đây
mục cha
commit
bf997cff70
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      deltachat-ios/AppDelegate.swift

+ 1 - 0
deltachat-ios/AppDelegate.swift

@@ -473,6 +473,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
     }
 
     func reloadDcContext() {
+        setStockTranslations()
         locationManager.reloadDcContext()
         notificationManager.reloadDcContext()
         RelayHelper.sharedInstance.cancel()