|
|
@ -18,7 +18,6 @@ struct DisplayNameView: View {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var body: some View {
|
|
|
|
var body: some View {
|
|
|
|
NavigationView {
|
|
|
|
|
|
|
|
ZStack(alignment: .center) {
|
|
|
|
ZStack(alignment: .center) {
|
|
|
|
if #available(iOS 14.0, *) {
|
|
|
|
if #available(iOS 14.0, *) {
|
|
|
|
ThemeManager.currentTheme.colorSwiftUI(for: .backgroundPrimary).ignoresSafeArea()
|
|
|
|
ThemeManager.currentTheme.colorSwiftUI(for: .backgroundPrimary).ignoresSafeArea()
|
|
|
@ -89,7 +88,6 @@ struct DisplayNameView: View {
|
|
|
|
.padding(.vertical, Values.mediumSpacing)
|
|
|
|
.padding(.vertical, Values.mediumSpacing)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private func register() {
|
|
|
|
private func register() {
|
|
|
|
let displayName = self.displayName.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines)
|
|
|
|
let displayName = self.displayName.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines)
|
|
|
|