Skip to content

Commit 282d507

Browse files
fix: update download URL and version handling in splash screen
1 parent cafa745 commit 282d507

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/pages/splash_screen.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ class _SplashScreenState extends State<SplashScreen> with SingleTickerProviderSt
150150
);
151151

152152
await UpdateService.instance.downloadAndInstallUpdate(
153-
update['downloadUrl'],
154-
update['version'],
153+
update['assets'].first['browser_download_url'],
154+
update['tag_name']?.toString() ?? '',
155155
);
156156

157157
if (!mounted) return;

0 commit comments

Comments
 (0)