Expose the current device identifier in settings (#442)

This commit is contained in:
Stefan Ceriu
2023-01-11 19:08:20 +02:00
committed by GitHub
parent 95137c0f7a
commit 62c3159694
3 changed files with 10 additions and 3 deletions
@@ -155,8 +155,14 @@ struct SettingsScreen: View {
Text(ElementL10n.actionSignOutConfirmationSimple)
}
} footer: {
versionText
.frame(maxWidth: .infinity)
VStack {
versionText
.frame(maxWidth: .infinity)
if let deviceId = context.viewState.deviceID {
Text(deviceId)
}
}
}
}