Skip to content
Snippets Groups Projects
Verified Commit 5ab62f9e authored by Mikolai Gütschow's avatar Mikolai Gütschow
Browse files

fix some lint issues

parent b0cb6b70
No related branches found
No related tags found
1 merge request!12Login/Registration screens
...@@ -125,7 +125,7 @@ constructor( ...@@ -125,7 +125,7 @@ constructor(
lifecycleManager.waitForStartup() lifecycleManager.waitForStartup()
val contacts = contactManager.getContacts() val contacts = contactManager.getContacts()
if (contacts.isEmpty()) { if (contacts.isEmpty()) {
//todo: add some dummy account to db // todo: add some dummy account to db
} }
for (contact in contacts) { for (contact in contacts) {
println("${contact.author.name} (${contact.alias})") println("${contact.author.name} (${contact.alias})")
......
...@@ -67,11 +67,11 @@ fun Login( ...@@ -67,11 +67,11 @@ fun Login(
modifier = Modifier modifier = Modifier
.focusRequester(initialFocusRequester) .focusRequester(initialFocusRequester)
.onPreviewKeyEvent { .onPreviewKeyEvent {
if (it.type == KeyEventType.KeyUp && it.key == Key.Enter) { if (it.type == KeyEventType.KeyUp && it.key == Key.Enter) {
onResult.invoke(password) onResult.invoke(password)
} }
false false
}, },
) )
Spacer(Modifier.height(16.dp)) Spacer(Modifier.height(16.dp))
Button(onClick = { onResult.invoke(password) }) { Button(onClick = { onResult.invoke(password) }) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment