diff --git a/app/src/main/kotlin/io/flamenet/messenger/app/ChatScreens.kt b/app/src/main/kotlin/io/flamenet/messenger/app/ChatScreens.kt index 9e57172..fc9c6b6 100644 --- a/app/src/main/kotlin/io/flamenet/messenger/app/ChatScreens.kt +++ b/app/src/main/kotlin/io/flamenet/messenger/app/ChatScreens.kt @@ -3624,7 +3624,10 @@ fun RegisteredDevicesSection( // somebody else is carrying, the first is the one that // matters. androidx.compose.material3.TextButton( - onClick = { erasing = device.deviceId; passphrase = "" }, + onClick = { + erasing = device.deviceId + passphrase = "" + }, modifier = Modifier.testTag("erase-${device.deviceId}"), ) { Text("Erase", color = MaterialTheme.colorScheme.error) } androidx.compose.material3.TextButton( @@ -3659,7 +3662,8 @@ fun RegisteredDevicesSection( label = { Text("Your passphrase") }, singleLine = true, visualTransformation = - androidx.compose.ui.text.input.PasswordVisualTransformation(), + androidx.compose.ui.text.input + .PasswordVisualTransformation(), modifier = Modifier.fillMaxWidth().testTag("erase-passphrase"), ) } @@ -3680,7 +3684,10 @@ fun RegisteredDevicesSection( KitChip( text = "Cancel", selected = false, - onClick = { erasing = null; passphrase = "" }, + onClick = { + erasing = null + passphrase = "" + }, tag = "erase-cancel", ) },