Added Signal.org, fixed bugs, UX tweaks, readme update

This commit is contained in:
Imran Remtulla
2022-08-27 17:47:08 -04:00
parent 5bdab1b1e4
commit 7e5affe1b8
5 changed files with 49 additions and 10 deletions

View File

@@ -22,9 +22,7 @@ class _AppsPageState extends State<AppsPage> {
floatingActionButton: existingUpdateAppIds.isEmpty
? null
: ElevatedButton.icon(
onPressed: appsProvider.apps.values
.where((element) => element.downloadProgress != null)
.isNotEmpty
onPressed: appsProvider.areDownloadsRunning()
? null
: () {
HapticFeedback.heavyImpact();
@@ -60,7 +58,7 @@ class _AppsPageState extends State<AppsPage> {
e.app.installedVersion ?? 'Not Installed'),
trailing: e.downloadProgress != null
? Text(
'Downloading - ${e.downloadProgress!.toInt()}%')
'Downloading - ${e.downloadProgress?.toInt()}%')
: (e.app.installedVersion != null &&
e.app.installedVersion !=
e.app.latestVersion