Skip to content

Commit

Permalink
manager: fix update no response when changelog is empty (tiann#1786)
Browse files Browse the repository at this point in the history
  • Loading branch information
TinyHai authored and xxmustafacooTR committed Jul 24, 2024
1 parent c3baec6 commit 1e5c11c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1e5c11c

Please sign in to comment.