From 7cf498eb38c55eba005d5a5d351473f85811e7b8 Mon Sep 17 00:00:00 2001 From: 4sterisk <4sterisk@ymail.ne.jp> Date: Sun, 31 Mar 2024 15:08:30 +0900 Subject: [PATCH] =?UTF-8?q?iOS=E4=BB=A5=E5=A4=96=E3=81=A7general=5Fsetting?= =?UTF-8?q?s=E3=81=8C=E8=AA=AD=E3=81=BF=E8=BE=BC=E3=81=BE=E3=82=8C?= =?UTF-8?q?=E3=81=AA=E3=81=84=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/repository/account_settings_repository.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/repository/account_settings_repository.dart b/lib/repository/account_settings_repository.dart index 1d764caf4..9d10e99ac 100644 --- a/lib/repository/account_settings_repository.dart +++ b/lib/repository/account_settings_repository.dart @@ -33,7 +33,9 @@ class AccountSettingsRepository extends ChangeNotifier { return; } } else { - await SharedPreferenceAppGroup.setString("account_settings", storedData); + if (defaultTargetPlatform == TargetPlatform.iOS) { + await SharedPreferenceAppGroup.setString("account_settings", storedData); + } } try { _accountSettings