Make AttractorServer setting nil by default
This commit is contained in:
@@ -169,7 +169,7 @@ class GeneralSettingsViewController: UIViewController
|
||||
cell.contentConfiguration = ButtonContentConfiguration(menu: menu)
|
||||
} else if identifier == Self.SyncServerItem {
|
||||
cell.contentConfiguration = TextFieldContentConfiguration(
|
||||
text: Settings.shared.syncServer,
|
||||
text: Settings.shared.syncServer ?? "",
|
||||
placeholderText: "https://sync.server.com",
|
||||
textChanged: { newString in
|
||||
Settings.shared.syncServer = newString
|
||||
|
||||
Reference in New Issue
Block a user