Skip to content

Commit

Permalink
[FEAT] #235 유저디폴트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
comeheredart committed Jun 24, 2022
1 parent 51fe18a commit 4d5ed3d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ChaRo-iOS/ChaRo-iOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2045,7 +2045,7 @@
CODE_SIGN_ENTITLEMENTS = "ChaRo-iOS/ChaRo-iOS.entitlements";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 2ZS26WP93H;
DEVELOPMENT_TEAM = J8A843466G;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)",
Expand Down Expand Up @@ -2077,7 +2077,7 @@
CODE_SIGN_ENTITLEMENTS = "ChaRo-iOS/ChaRo-iOS.entitlements";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 2ZS26WP93H;
DEVELOPMENT_TEAM = J8A843466G;
"EXCLUDED_ARCHS[sdk=*]" = arm64;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
Expand Down
1 change: 1 addition & 0 deletions ChaRo-iOS/ChaRo-iOS/Resource/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
<array>
<string>fetch</string>
<string>remote-notification</string>
<string>voip</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
Expand Down
8 changes: 4 additions & 4 deletions ChaRo-iOS/ChaRo-iOS/Source/Services/Contants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ struct Constants {
// MARK: - BASE URL
static let baseURL = "http://52.79.108.141:5000"

static let userId = UserDefaults.standard.string(forKey: "userId") ?? "[email protected]"
static let nickName = UserDefaults.standard.string(forKey: "nickname") ?? "지으니"
static let profileName = UserDefaults.standard.string(forKey: "profileImage") ?? "https://charo-image.s3.ap-northeast-2.amazonaws.com/dummy/jieun.JPG"
static let userEmail = UserDefaults.standard.string(forKey: "userEmail") ?? "[email protected]"
static let userId = UserDefaults.standard.string(forKey: Constants.UserDefaultsKey.userEmail) ?? "[email protected]"
static let nickName = UserDefaults.standard.string(forKey: Constants.UserDefaultsKey.userNickname) ?? "지으니"
static let profileName = UserDefaults.standard.string(forKey: Constants.UserDefaultsKey.userImage) ?? "https://charo-image.s3.ap-northeast-2.amazonaws.com/dummy/jieun.JPG"
static let userEmail = UserDefaults.standard.string(forKey: Constants.UserDefaultsKey.userEmail) ?? "[email protected]"


// MARK: - Feature URL
Expand Down

0 comments on commit 4d5ed3d

Please sign in to comment.