lintformat

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
sowjanyakch 2025-05-26 16:06:22 +02:00 committed by Marcel Hibbe
parent b9e9d0ccd1
commit 18b75233a5
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B
3 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,6 @@ fun ContactsScreen(contactsViewModel: ContactsViewModel, uiState: ContactsUiStat
val autocompleteUsers by contactsViewModel.selectedParticipantsList.collectAsStateWithLifecycle() val autocompleteUsers by contactsViewModel.selectedParticipantsList.collectAsStateWithLifecycle()
val enableAddButton by contactsViewModel.enableAddButton.collectAsStateWithLifecycle() val enableAddButton by contactsViewModel.enableAddButton.collectAsStateWithLifecycle()
Scaffold( Scaffold(
topBar = { topBar = {
AppBar( AppBar(

View File

@ -53,7 +53,7 @@ class ContactsViewModel @Inject constructor(
_searchQuery.value = query _searchQuery.value = query
} }
fun modifyClickAddButton(value:Boolean){ fun modifyClickAddButton(value: Boolean) {
_clickAddButton.value = value _clickAddButton.value = value
} }

View File

@ -32,6 +32,7 @@ import com.nextcloud.talk.models.json.autocomplete.AutocompleteUser
@SuppressLint("UnrememberedMutableState") @SuppressLint("UnrememberedMutableState")
@OptIn(ExperimentalMaterial3Api::class) @OptIn(ExperimentalMaterial3Api::class)
@Suppress("LongParameterList", "LongMethod")
@Composable @Composable
fun AppBar( fun AppBar(
title: String, title: String,
@ -44,7 +45,7 @@ fun AppBar(
onUpdateSearchQuery: (String) -> Unit, onUpdateSearchQuery: (String) -> Unit,
onUpdateAutocompleteUsers: () -> Unit, onUpdateAutocompleteUsers: () -> Unit,
enableAddButton: Boolean, enableAddButton: Boolean,
clickAddButton:(Boolean) -> Unit clickAddButton: (Boolean) -> Unit
) { ) {
val context = LocalContext.current val context = LocalContext.current