manager: fix update no response when changelog is empty (#1786)
This commit is contained in:
@@ -128,7 +128,9 @@ fun UpdateCard() {
|
||||
message = stringResource(id = R.string.new_version_available).format(newVersionCode),
|
||||
MaterialTheme.colorScheme.outlineVariant
|
||||
) {
|
||||
if (changelog.isNotEmpty()) {
|
||||
if (changelog.isEmpty()) {
|
||||
uriHandler.openUri(newVersionUrl)
|
||||
} else {
|
||||
updateDialog.showConfirm(
|
||||
title = title,
|
||||
content = changelog,
|
||||
|
||||
Reference in New Issue
Block a user