diff --git a/mobile/lib/modules/memories/ui/memory_progress_indicator.dart b/mobile/lib/modules/memories/ui/memory_progress_indicator.dart index bad9ea5f84..1545d3363e 100644 --- a/mobile/lib/modules/memories/ui/memory_progress_indicator.dart +++ b/mobile/lib/modules/memories/ui/memory_progress_indicator.dart @@ -15,32 +15,36 @@ class MemoryProgressIndicator extends StatelessWidget { return LayoutBuilder( builder: (context, constraints) { final tickWidth = constraints.maxWidth / ticks; - return Stack( - children: [ - LinearProgressIndicator( - value: value, - ), - Row( - mainAxisAlignment: MainAxisAlignment.spaceEvenly, - children: List.generate( - ticks, - (i) => Container( - width: tickWidth, - height: 4, - decoration: BoxDecoration( - border: i == 0 - ? null - : Border( - left: BorderSide( - color: Theme.of(context).scaffoldBackgroundColor, - width: 1, + return ClipRRect( + borderRadius: const BorderRadius.all(Radius.circular(2.0)), + child: Stack( + children: [ + LinearProgressIndicator( + value: value, + ), + Row( + mainAxisAlignment: MainAxisAlignment.spaceEvenly, + children: List.generate( + ticks, + (i) => Container( + width: tickWidth, + height: 4, + decoration: BoxDecoration( + border: i == 0 + ? null + : Border( + left: BorderSide( + color: + Theme.of(context).scaffoldBackgroundColor, + width: 1, + ), ), - ), + ), ), ), ), - ), - ], + ], + ), ); }, );