|
|
|
@ -14,7 +14,7 @@ struct DebugSettingsView: View { |
|
|
|
LabeledContent("UUID", value: self._userId) |
|
|
|
LabeledContent("UUID", value: self._userId) |
|
|
|
LabeledContent("User Name", value: self._userName) |
|
|
|
LabeledContent("User Name", value: self._userName) |
|
|
|
LabeledContent("Token", value: self._token) |
|
|
|
LabeledContent("Token", value: self._token) |
|
|
|
LabeledContent("Server", value: self._server) |
|
|
|
LabeledContent("Server", value: self._apiURL) |
|
|
|
LabeledContent("Synchronized", value: self._synchronized) |
|
|
|
LabeledContent("Synchronized", value: self._synchronized) |
|
|
|
LabeledContent("CollectionsCanSynchronize", value: self._canSynchronize) |
|
|
|
LabeledContent("CollectionsCanSynchronize", value: self._canSynchronize) |
|
|
|
} |
|
|
|
} |
|
|
|
@ -32,8 +32,8 @@ struct DebugSettingsView: View { |
|
|
|
return StoreCenter.main.token() ?? "" |
|
|
|
return StoreCenter.main.token() ?? "" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
fileprivate var _server: String { |
|
|
|
fileprivate var _apiURL: String { |
|
|
|
return PListReader.readString(plist: "local", key: "server") ?? "" |
|
|
|
return StoreCenter.main.apiURL ?? "not configured" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
fileprivate var _synchronized: String { |
|
|
|
fileprivate var _synchronized: String { |
|
|
|
|