remove back button from migrate device

This commit is contained in:
Diogo
2024-08-27 17:32:30 +01:00
parent c0c8ce8848
commit ed6c3d375a
@@ -106,9 +106,6 @@ struct MigrateFromDevice: View {
finishedView(chatDeletion)
}
}
.modifier(BackButton(label: "Back", disabled: $backDisabled) {
dismiss()
})
.onChange(of: migrationState) { state in
backDisabled = switch migrationState {
case .chatStopInProgress, .archiving, .linkShown, .finished: true