mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 03:29:28 +01:00
detekt
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
29d5293587
commit
350bba1b95
@ -97,7 +97,7 @@ fun AppBar(
|
||||
onUpdateSearchQuery("")
|
||||
}
|
||||
) {
|
||||
Text(text = "Add")
|
||||
Text(text = context.getString(R.string.add_participants))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ fun SearchComponent(text: String, onTextChange: (String) -> Unit, onDisableSearc
|
||||
TextField(
|
||||
modifier = Modifier
|
||||
.background(MaterialTheme.colorScheme.background)
|
||||
.fillMaxWidth(0.85f)
|
||||
.fillMaxWidth(SearchComponentCompanionClass.WIDTH_RATIO)
|
||||
.height(60.dp),
|
||||
value = text,
|
||||
onValueChange = { onTextChange(it) },
|
||||
@ -100,3 +100,9 @@ fun searchKeyboardActions(text: String, keyboardController: SoftwareKeyboardCont
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
class SearchComponentCompanionClass() {
|
||||
companion object {
|
||||
const val WIDTH_RATIO = 0.85f
|
||||
}
|
||||
}
|
||||
|
@ -41,6 +41,7 @@ How to translate with transifex:
|
||||
|
||||
<!-- Bottom Navigation -->
|
||||
<string name="nc_settings">Settings</string>
|
||||
<string name="add_participants">Add</string>
|
||||
|
||||
<!-- Server selection -->
|
||||
<string name="nc_server_connect">Test server connection</string>
|
||||
|
Loading…
Reference in New Issue
Block a user