mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Ensure that the current user is the device owner before linking a new device. (#5773)
This commit is contained in:
@@ -15,8 +15,14 @@ enum LinkNewDeviceScreenViewModelAction {
|
||||
|
||||
struct LinkNewDeviceScreenViewState: BindableState {
|
||||
nonisolated enum Mode: Equatable {
|
||||
enum ReadyState: Equatable {
|
||||
case idle
|
||||
case verifyingDeviceOwner
|
||||
case generatingCode
|
||||
}
|
||||
|
||||
case loading
|
||||
case readyToLink(isGeneratingCode: Bool)
|
||||
case readyToLink(ReadyState)
|
||||
case error(QRCodeLoginState.ErrorState)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user