mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-07 00:24:18 +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,
|
||||
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 a new issue