Skip to content

Commit 8cc9608

Browse files
Fix update dialog condition for mobile devices
1 parent c3aa6a2 commit 8cc9608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

third-party/chewie/lib/src/Utils/utils.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class ChewieUtils {
204204
onUpdate?.call(latestVersion, latestReleaseItem!);
205205
chewieProvider.latestVersion = latestVersion;
206206
if (showUpdateDialog && latestReleaseItem != null) {
207-
if (!ResponsiveUtil.isMobile()) {
207+
if (ResponsiveUtil.isMobile()) {
208208
DialogBuilder.showConfirmDialog(
209209
context,
210210
renderHtml: true,

0 commit comments

Comments
 (0)