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),
|
message = stringResource(id = R.string.new_version_available).format(newVersionCode),
|
||||||
MaterialTheme.colorScheme.outlineVariant
|
MaterialTheme.colorScheme.outlineVariant
|
||||||
) {
|
) {
|
||||||
if (changelog.isNotEmpty()) {
|
if (changelog.isEmpty()) {
|
||||||
|
uriHandler.openUri(newVersionUrl)
|
||||||
|
} else {
|
||||||
updateDialog.showConfirm(
|
updateDialog.showConfirm(
|
||||||
title = title,
|
title = title,
|
||||||
content = changelog,
|
content = changelog,
|
||||||
|
|||||||
Reference in New Issue
Block a user