From d4f582914aa00aee0a1e15753f1f4e2592a09302 Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 28 Oct 2020 15:37:40 +0100 Subject: [PATCH] Fixed persisting lastSelectedExportFolder also on iOS --- .../BankingiOSApp.xcdatamodel/contents | 3 ++- ui/BankingiOSApp/BankingiOSApp/persistence/Mapper.swift | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/BankingiOSApp/BankingiOSApp/BankingiOSApp.xcdatamodeld/BankingiOSApp.xcdatamodel/contents b/ui/BankingiOSApp/BankingiOSApp/BankingiOSApp.xcdatamodeld/BankingiOSApp.xcdatamodel/contents index 54a3821e..9db108b9 100644 --- a/ui/BankingiOSApp/BankingiOSApp/BankingiOSApp.xcdatamodeld/BankingiOSApp.xcdatamodel/contents +++ b/ui/BankingiOSApp/BankingiOSApp/BankingiOSApp.xcdatamodeld/BankingiOSApp.xcdatamodel/contents @@ -38,6 +38,7 @@ + @@ -109,7 +110,7 @@ - + diff --git a/ui/BankingiOSApp/BankingiOSApp/persistence/Mapper.swift b/ui/BankingiOSApp/BankingiOSApp/persistence/Mapper.swift index 6983aca3..89a1bef2 100644 --- a/ui/BankingiOSApp/BankingiOSApp/persistence/Mapper.swift +++ b/ui/BankingiOSApp/BankingiOSApp/persistence/Mapper.swift @@ -324,7 +324,8 @@ class Mapper { screenshotsAllowed: settings.screenshotsAllowed, flickerCodeSettings: map(settings.flickerCodeSettings), qrCodeSettings: map(settings.qrCodeSettings), - photoTanSettings: map(settings.photoTanSettings)) + photoTanSettings: map(settings.photoTanSettings), + lastSelectedExportFolder: settings.lastSelectedExportFolder) mapped.technicalId = settings.objectIDAsString @@ -342,6 +343,8 @@ class Mapper { mapped.qrCodeSettings = map(settings.qrCodeSettings, context) mapped.photoTanSettings = map(settings.photoTanSettings, context) + mapped.lastSelectedExportFolder = settings.lastSelectedExportFolder + return mapped }