mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 11:39:42 +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("")
|
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(
|
TextField(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.background(MaterialTheme.colorScheme.background)
|
.background(MaterialTheme.colorScheme.background)
|
||||||
.fillMaxWidth(0.85f)
|
.fillMaxWidth(SearchComponentCompanionClass.WIDTH_RATIO)
|
||||||
.height(60.dp),
|
.height(60.dp),
|
||||||
value = text,
|
value = text,
|
||||||
onValueChange = { onTextChange(it) },
|
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 -->
|
<!-- Bottom Navigation -->
|
||||||
<string name="nc_settings">Settings</string>
|
<string name="nc_settings">Settings</string>
|
||||||
|
<string name="add_participants">Add</string>
|
||||||
|
|
||||||
<!-- Server selection -->
|
<!-- Server selection -->
|
||||||
<string name="nc_server_connect">Test server connection</string>
|
<string name="nc_server_connect">Test server connection</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user