mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 00:51:20 +00:00
Merge branch 'master' into digital-ocean-volume
This commit is contained in:
commit
6096ef2572
|
@ -45,8 +45,11 @@ class StorageCard extends StatelessWidget {
|
||||||
clipBehavior: Clip.antiAlias,
|
clipBehavior: Clip.antiAlias,
|
||||||
child: InkResponse(
|
child: InkResponse(
|
||||||
highlightShape: BoxShape.rectangle,
|
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(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(16.0),
|
padding: const EdgeInsets.all(16.0),
|
||||||
child: Column(
|
child: Column(
|
||||||
|
|
Loading…
Reference in a new issue