Skip to content

Commit

Permalink
fix: jumping layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Syn-McJ committed Nov 30, 2023
1 parent d38a69c commit ba154c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions DashWallet.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10553,7 +10553,7 @@
CLIENT_ID = 0c38beb67db0c68191326be347d7ec0abd7d77adb02a79db1abeba343f16a0f7;
CLIENT_SECRET = cc980185754f905e24250f877792817c03540b3d0e0959721df291c816797e59;
CODE_SIGN_ENTITLEMENTS = dashwallet/dashwallet.entitlements;
CURRENT_PROJECT_VERSION = 159;
CURRENT_PROJECT_VERSION = 162;
DEVELOPMENT_TEAM = 44RJ69WHFF;
EXCLUDED_ARCHS = "";
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
Expand Down Expand Up @@ -10689,7 +10689,7 @@
CLIENT_ID = 0c38beb67db0c68191326be347d7ec0abd7d77adb02a79db1abeba343f16a0f7;
CLIENT_SECRET = cc980185754f905e24250f877792817c03540b3d0e0959721df291c816797e59;
CODE_SIGN_ENTITLEMENTS = dashwallet/dashwallet.entitlements;
CURRENT_PROJECT_VERSION = 159;
CURRENT_PROJECT_VERSION = 162;
DEVELOPMENT_TEAM = 44RJ69WHFF;
EXCLUDED_ARCHS = "";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
Expand Down Expand Up @@ -10824,7 +10824,7 @@
CLIENT_ID = 0c38beb67db0c68191326be347d7ec0abd7d77adb02a79db1abeba343f16a0f7;
CLIENT_SECRET = cc980185754f905e24250f877792817c03540b3d0e0959721df291c816797e59;
CODE_SIGN_ENTITLEMENTS = dashwallet/dashwallet.entitlements;
CURRENT_PROJECT_VERSION = 159;
CURRENT_PROJECT_VERSION = 162;
DEVELOPMENT_TEAM = 44RJ69WHFF;
EXCLUDED_ARCHS = "";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
Expand Down Expand Up @@ -10969,7 +10969,7 @@
CLIENT_ID = 0c38beb67db0c68191326be347d7ec0abd7d77adb02a79db1abeba343f16a0f7;
CLIENT_SECRET = cc980185754f905e24250f877792817c03540b3d0e0959721df291c816797e59;
CODE_SIGN_ENTITLEMENTS = dashwallet/dashwallet.entitlements;
CURRENT_PROJECT_VERSION = 159;
CURRENT_PROJECT_VERSION = 162;
DEVELOPMENT_TEAM = 44RJ69WHFF;
EXCLUDED_ARCHS = "";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ extension VerifyIdenityViewController {
linkField.isEnabled = true
linkField.placeholder = NSLocalizedString("Paste the link", comment: "Usernames")
linkField.translatesAutoresizingMaskIntoConstraints = false
linkField.keyboardType = .URL

continueButton.setTitle(NSLocalizedString("Verify", comment: ""), for: .normal)

Expand Down Expand Up @@ -130,7 +131,7 @@ extension VerifyIdenityViewController {
} else {
let diff = height - view.frame.height + linkField.frame.maxY + continueButton.frame.height
// Raise keyboard a bit. Accounts for not enough space on small screens
view.frame.origin.y = view.frame.origin.y - 50 - max(diff, 0)
view.frame.origin.y = -(60 + max(diff, 0))
}
}
}

0 comments on commit ba154c9

Please sign in to comment.