mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
feat: add migration dialog 1 (MESSENGER-7553)
This commit is contained in:
@@ -229,15 +229,11 @@ fileprivate func unrestrictUser(mxSession: MXSession?) -> Bool {
|
||||
return true
|
||||
}
|
||||
|
||||
fileprivate func unmarkBannerVersion(mxSession: MXSession?) -> Bool {
|
||||
guard let mxSession = mxSession else {
|
||||
return false
|
||||
}
|
||||
|
||||
fileprivate func unmarkBannerVersion(mxSession: MXSession?) -> Bool {
|
||||
// NSString *version = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
|
||||
|
||||
if let version = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String {
|
||||
_ = FeatureBannerVisibilityService(mxSession: mxSession).markAsUnread(version: version)
|
||||
FeatureBannerVisibilityService().markAsUnread(version: version)
|
||||
}
|
||||
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user