diff --git a/PadelClub/Views/Navigation/Toolbox/DebugSettingsView.swift b/PadelClub/Views/Navigation/Toolbox/DebugSettingsView.swift index 246c3a7..0fb469c 100644 --- a/PadelClub/Views/Navigation/Toolbox/DebugSettingsView.swift +++ b/PadelClub/Views/Navigation/Toolbox/DebugSettingsView.swift @@ -16,6 +16,7 @@ struct DebugSettingsView: View { LabeledContent("Has Websocket Manager", value: self._hasWebSocketManager) LabeledContent("Websocket ping", value: self._wsPingStatus) LabeledContent("Websocket failure", value: self._wsFailure) + LabeledContent("Last sync date", value: self._lastSyncDate) } Section("Settings") { @@ -66,6 +67,9 @@ struct DebugSettingsView: View { fileprivate var _hasWebSocketManager: String { return "\(StoreCenter.main.hasWebSocketManager)" } + fileprivate var _lastSyncDate: String { + return "\(StoreCenter.main.lastSyncDate)" + } } //#Preview {