mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Use common compose qr screen for usernames.
This commit is contained in:
@@ -46,7 +46,7 @@ object QrScanScreens {
|
||||
update: (QrScannerView) -> Unit = NoOpUpdate,
|
||||
hasPermission: Boolean,
|
||||
onRequestPermissions: () -> Unit = {},
|
||||
qrString: String,
|
||||
qrHeaderLabelString: String,
|
||||
onGalleryOpened: () -> Unit = {}
|
||||
) {
|
||||
val path = remember { Path() }
|
||||
@@ -97,7 +97,7 @@ object QrScanScreens {
|
||||
}
|
||||
} else {
|
||||
Text(
|
||||
text = qrString,
|
||||
text = qrHeaderLabelString,
|
||||
style = MaterialTheme.typography.bodyMedium,
|
||||
color = Color.White,
|
||||
textAlign = TextAlign.Center,
|
||||
|
||||
Reference in New Issue
Block a user