Skip to content

Commit 0aba01a

Browse files
Fixed naming and ternary operator
1 parent 760ed44 commit 0aba01a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

ForPDA.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
B8001CD92A1AA0FE00E7A8A8 /* CookiesService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CookiesService.swift; sourceTree = "<group>"; };
213213
B8001CDB2A1ADD4000E7A8A8 /* Cookie.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Cookie.swift; sourceTree = "<group>"; };
214214
B8001CDE2A1B01D000E7A8A8 /* User.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = User.swift; sourceTree = "<group>"; };
215-
B802965E2AAE87D100D5B413 /* SecretsExample.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = SecretsExample.xcconfig; sourceTree = "<group>"; };
215+
B802965E2AAE87D100D5B413 /* SecretsExapmle.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = SecretsExapmle.xcconfig; sourceTree = "<group>"; };
216216
B8086F672B066081003A7D57 /* ArticlePagesFactory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ArticlePagesFactory.swift; sourceTree = "<group>"; };
217217
B8086F692B066086003A7D57 /* ArticlePagesVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ArticlePagesVC.swift; sourceTree = "<group>"; };
218218
B8086F6B2B0677E7003A7D57 /* ArticleHeaderView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ArticleHeaderView.swift; sourceTree = "<group>"; };
@@ -906,7 +906,7 @@
906906
B8FD82092A1163EE00EB7035 /* Sources */,
907907
B8FD820E2A11681500EB7035 /* Resources */,
908908
B82B2EC62A89306000CB067C /* Secrets.xcconfig */,
909-
B802965E2AAE87D100D5B413 /* SecretsExample.xcconfig */,
909+
B802965E2AAE87D100D5B413 /* SecretsExapmle.xcconfig */,
910910
B82B2EFE2A8942E900CB067C /* Info.plist */,
911911
);
912912
path = ForPDA;

ForPDA/Resources/en.lproj/Localizable.strings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,4 @@
102102
"captcha.uploading.failed" = "Captcha uploading failed";
103103
"login.failed.unknown.reasons" = "Something went wrong, try again later";
104104
"login" = "Log In";
105-
"done" = "Ready";
105+
"done" = "Done";
File renamed without changes.

ForPDA/Sources/Modules/Login/LoginView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ final class LoginView: UIView {
130130
}
131131

132132
private func makeConstraints() {
133-
let isSE = UIScreen.main.bounds.height < 680 ? 16 : 64
133+
let isSE = UIScreen.main.bounds.height <= 667
134134
loginTextField.snp.makeConstraints { make in
135135
make.leading.trailing.equalToSuperview().inset(16)
136-
make.top.equalTo(safeAreaLayoutGuide).inset(isSE)
136+
make.top.equalTo(safeAreaLayoutGuide).inset(isSE ? 16 : 64)
137137
}
138138

139139
passwordTextField.snp.makeConstraints { make in

0 commit comments

Comments
 (0)