|
|
|
@ -16,6 +16,7 @@ struct DebugSettingsView: View { |
|
|
|
LabeledContent("Has Websocket Manager", value: self._hasWebSocketManager) |
|
|
|
LabeledContent("Has Websocket Manager", value: self._hasWebSocketManager) |
|
|
|
LabeledContent("Websocket ping", value: self._wsPingStatus) |
|
|
|
LabeledContent("Websocket ping", value: self._wsPingStatus) |
|
|
|
LabeledContent("Websocket failure", value: self._wsFailure) |
|
|
|
LabeledContent("Websocket failure", value: self._wsFailure) |
|
|
|
|
|
|
|
LabeledContent("Last sync date", value: self._lastSyncDate) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Section("Settings") { |
|
|
|
Section("Settings") { |
|
|
|
@ -66,6 +67,9 @@ struct DebugSettingsView: View { |
|
|
|
fileprivate var _hasWebSocketManager: String { |
|
|
|
fileprivate var _hasWebSocketManager: String { |
|
|
|
return "\(StoreCenter.main.hasWebSocketManager)" |
|
|
|
return "\(StoreCenter.main.hasWebSocketManager)" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
fileprivate var _lastSyncDate: String { |
|
|
|
|
|
|
|
return "\(StoreCenter.main.lastSyncDate)" |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//#Preview { |
|
|
|
//#Preview { |
|
|
|
|