don't show memory counter if step progress indicator is visible

This commit is contained in:
ashilkn 2024-01-05 14:39:34 +05:30
parent 212423f955
commit 8730bc5451

View file

@ -244,7 +244,9 @@ class _FullScreenMemoryNewState extends State<FullScreenMemoryNew> {
widget.title,
style: darkTextTheme.h2,
)
: const MemoryCounter(),
: showStepProgressIndicator
? const SizedBox.shrink()
: const MemoryCounter(),
);
},
valueListenable: _showTitle,