From 4c9c4c29cd583848a7c4db19c6fe13935f07b587 Mon Sep 17 00:00:00 2001 From: Dynesshely Date: Mon, 9 Sep 2024 03:02:22 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=BE=20Feat(AndroidDownloadPage):=20Add?= =?UTF-8?q?=20loading=20animation=20for=20f-droid=20logo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controls/download_pages/platform_android.dart | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/KitX Website Flutter/kitx_website/lib/pages/controls/download_pages/platform_android.dart b/KitX Website Flutter/kitx_website/lib/pages/controls/download_pages/platform_android.dart index 7cb1d2c..4b549ca 100644 --- a/KitX Website Flutter/kitx_website/lib/pages/controls/download_pages/platform_android.dart +++ b/KitX Website Flutter/kitx_website/lib/pages/controls/download_pages/platform_android.dart @@ -50,7 +50,15 @@ Widget getAndroidPage( children: [ Padding( padding: EdgeInsets.all(2), - child: WebsafeSvg.asset('ThirdParty/fdroid-logo.svg', height: 30.0), + child: WebsafeSvg.asset( + 'ThirdParty/fdroid-logo.svg', + height: 30.0, + placeholderBuilder: (context) => const SizedBox( + width: 30, + height: 30, + child: const CircularProgressIndicator(), + ), + ), ), recommendedChip, ],