mirror of
https://github.com/revanced/revanced-manager-compose-old.git
synced 2025-04-29 22:14:28 +02:00
feat(loadingIndicator): fix custom text
This commit is contained in:
parent
1eee78dbf0
commit
f4ccf85b81
@ -20,8 +20,8 @@ fun LoadingIndicator(id: Int? = null) {
|
||||
verticalArrangement = Arrangement.Center,
|
||||
horizontalAlignment = Alignment.CenterHorizontally
|
||||
) {
|
||||
Text(stringResource(R.string.loading_body))
|
||||
if (id != null) Text(stringResource(id))
|
||||
if (id == null) Text(stringResource(R.string.loading_body))
|
||||
else Text(stringResource(id))
|
||||
CircularProgressIndicator(modifier = Modifier.padding(vertical = 16.dp))
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user