From 58785181699f5310b273ead73fb168bd0b217038 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=8F=84=ED=98=84?= Date: Thu, 7 Nov 2024 00:04:31 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20MyUserDefaults=20memberId,=20userName=20?= =?UTF-8?q?Type=20Annotation=20String=EC=9C=BC=EB=A1=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20(#700)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Storages/UserDefaults/MyUserDefaults/MyUserDefaults.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/14th-team5-iOS/Data/Sources/Storages/UserDefaults/MyUserDefaults/MyUserDefaults.swift b/14th-team5-iOS/Data/Sources/Storages/UserDefaults/MyUserDefaults/MyUserDefaults.swift index c9ec3fb14..f59b99fe4 100644 --- a/14th-team5-iOS/Data/Sources/Storages/UserDefaults/MyUserDefaults/MyUserDefaults.swift +++ b/14th-team5-iOS/Data/Sources/Storages/UserDefaults/MyUserDefaults/MyUserDefaults.swift @@ -32,7 +32,7 @@ final public class MyUserDefaults: MyUserDefaultsType { public func loadMemberId() -> String? { guard - let memberId: String? = userDefaults[.memberId] + let memberId: String = userDefaults[.memberId] else { return nil } return memberId } @@ -46,7 +46,7 @@ final public class MyUserDefaults: MyUserDefaultsType { public func loadUserName() -> String? { guard - let userName: String? = userDefaults[.userName] + let userName: String = userDefaults[.userName] else { return nil } return userName }