Merge pull request 'fix(ui): Disable storage card while volume information is being fetched' (#369) from storage-card-lock into master
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Reviewed-on: #369 Reviewed-by: Inex Code <inex.code@selfprivacy.org>pull/368/head^2
commit
c0624fe5b1
|
@ -45,8 +45,11 @@ class StorageCard extends StatelessWidget {
|
|||
clipBehavior: Clip.antiAlias,
|
||||
child: InkResponse(
|
||||
highlightShape: BoxShape.rectangle,
|
||||
onTap: () =>
|
||||
context.pushRoute(ServerStorageRoute(diskStatus: diskStatus)),
|
||||
|
||||
/// TODO: when 'isEmpty' replace with a skeleton
|
||||
onTap: () => diskStatus.diskVolumes.isEmpty
|
||||
? null
|
||||
: context.pushRoute(ServerStorageRoute(diskStatus: diskStatus)),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(16.0),
|
||||
child: Column(
|
||||
|
|
Loading…
Reference in New Issue