mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-03 16:50:40 +02:00
feat(updater): resume and verify APK downloads
This commit is contained in:
@@ -69,6 +69,7 @@ class _UpdateDialogState extends State<UpdateDialog> {
|
||||
final filePath = await ApkDownloader.downloadApk(
|
||||
url: apkUrl,
|
||||
version: widget.updateInfo.version,
|
||||
expectedSha256: widget.updateInfo.apkSha256,
|
||||
onProgress: (received, total) {
|
||||
if (mounted) {
|
||||
setState(() {
|
||||
|
||||
Reference in New Issue
Block a user