Make the app version and the device ID copyable in the Settings screen. (#1389)

This commit is contained in:
Doug
2023-07-25 18:31:42 +01:00
committed by GitHub
parent 9f4479b57a
commit 7a9edc5efa
7 changed files with 14 additions and 8 deletions
@@ -22,7 +22,7 @@ class MockClientProxy: ClientProxyProtocol {
let callbacks = PassthroughSubject<ClientProxyCallback, Never>()
let userID: String
let deviceId: String? = nil
let deviceID: String?
let homeserver = ""
let restorationToken: RestorationToken? = nil
@@ -34,8 +34,9 @@ class MockClientProxy: ClientProxyProtocol {
var isSyncing: Bool { false }
internal init(userID: String, roomSummaryProvider: RoomSummaryProviderProtocol? = MockRoomSummaryProvider()) {
internal init(userID: String, deviceID: String? = nil, roomSummaryProvider: RoomSummaryProviderProtocol? = MockRoomSummaryProvider()) {
self.userID = userID
self.deviceID = deviceID
self.roomSummaryProvider = roomSummaryProvider
}