diff options
| author | Dustin Mierau <dustin@mierau.me> | 2025-11-14 08:38:32 -0800 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2025-11-14 08:38:32 -0800 |
| commit | 46384d99b78cca150aa720eb915d161b5be8c08d (patch) | |
| tree | 33b56420adae4f3158e7a07530c12b73e9f5d312 /Hotline/State | |
| parent | 7ca2ece66a5d40964f5d640255d1b137433511a9 (diff) | |
Cleanup user client info sheet. Hide button if you don't have persmission to do so.
Diffstat (limited to 'Hotline/State')
| -rw-r--r-- | Hotline/State/HotlineState.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Hotline/State/HotlineState.swift b/Hotline/State/HotlineState.swift index 318a468..e78a780 100644 --- a/Hotline/State/HotlineState.swift +++ b/Hotline/State/HotlineState.swift @@ -798,7 +798,7 @@ class HotlineState: Equatable { self.users = hotlineUsers.map { User(hotlineUser: $0) } } - func getClientInfoText(id userID: UInt16) async throws -> (username: String, info: String)? { + func getClientInfoText(id userID: UInt16) async throws -> HotlineUserClientInfo? { guard let client = self.client else { throw HotlineClientError.notConnected } |