1
Fork 0
mirror of https://github.com/Steffo99/twom.git synced 2024-11-25 01:24:24 +00:00

Replace TODO with comment

This commit is contained in:
Steffo 2024-01-24 04:48:47 +01:00
parent 8b7e849fc4
commit 9bf24dc27d
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -73,7 +73,7 @@ fun InviteUserForm(
modifier = Modifier modifier = Modifier
.basePadding() .basePadding()
.fillMaxWidth(), .fillMaxWidth(),
// FIXME: Maybe I should validate usernames with a regex // A cool thing to do would be resolving the userId exists on the server side, and display the avatar if it does resolve successfully...
enabled = (!busy && userId.contains("@") && userId.contains(":")), enabled = (!busy && userId.contains("@") && userId.contains(":")),
onClick = { onClick = {
scope.launch SendInvite@{ scope.launch SendInvite@{