refactor: updated UI
This commit is contained in:
@@ -92,7 +92,7 @@ fun FillTemplatePage(template: Template, innerPadding: PaddingValues) {
|
||||
)
|
||||
}
|
||||
|
||||
Button(
|
||||
AdaptiveButton(
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
onClick = {
|
||||
var isSuccess = true
|
||||
@@ -106,7 +106,7 @@ fun FillTemplatePage(template: Template, innerPadding: PaddingValues) {
|
||||
if (!isSuccess) {
|
||||
Toast.makeText(context, context.getString(R.string.error_in_data), Toast.LENGTH_LONG).show()
|
||||
|
||||
return@Button
|
||||
return@AdaptiveButton
|
||||
}
|
||||
|
||||
var result = template.template
|
||||
|
||||
Reference in New Issue
Block a user