Fix code analytics

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2024-04-16 10:29:23 +02:00 committed by Alper Öztürk
parent 6d219c5b8c
commit 05b141ef64
2 changed files with 1 additions and 2 deletions

View File

@ -65,7 +65,6 @@ fun TaskView(
.clip(RoundedCornerShape(16.dp))
.background(MaterialTheme.colorScheme.primary)
.combinedClickable(onClick = {
}, onLongClick = {
showMoreActionsBottomSheet = true
})

View File

@ -7,7 +7,7 @@
package com.nextcloud.utils.extensions
fun String.getRandomString(length: Int) : String {
fun String.getRandomString(length: Int): String {
val allowedChars = ('A'..'Z') + ('a'..'z') + ('0'..'9')
val result = (1..length)
.map { allowedChars.random() }