feat: 优化一点点
This commit is contained in:
parent
5a784e7ae7
commit
bf0f6acffc
Binary file not shown.
@ -188,7 +188,7 @@ struct UserInfo: View {
|
||||
.fill(Color.themePrimary)
|
||||
)
|
||||
}
|
||||
.padding(.horizontal)
|
||||
.padding(.horizontal, 32) // 添加上下边距,与上方按钮保持一致
|
||||
.padding(.bottom, isKeyboardVisible ? 20 : 40)
|
||||
.disabled(showUsername && userName.trimmingCharacters(in: .whitespaces).isEmpty)
|
||||
.opacity((showUsername && userName.trimmingCharacters(in: .whitespaces).isEmpty) ? 0.6 : 1.0)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user