mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
Rounds the edges of the progress bar
This commit is contained in:
parent
edba462faf
commit
fde8026253
@ -15,7 +15,9 @@ class MemoryProgressIndicator extends StatelessWidget {
|
||||
return LayoutBuilder(
|
||||
builder: (context, constraints) {
|
||||
final tickWidth = constraints.maxWidth / ticks;
|
||||
return Stack(
|
||||
return ClipRRect(
|
||||
borderRadius: const BorderRadius.all(Radius.circular(2.0)),
|
||||
child: Stack(
|
||||
children: [
|
||||
LinearProgressIndicator(
|
||||
value: value,
|
||||
@ -32,7 +34,8 @@ class MemoryProgressIndicator extends StatelessWidget {
|
||||
? null
|
||||
: Border(
|
||||
left: BorderSide(
|
||||
color: Theme.of(context).scaffoldBackgroundColor,
|
||||
color:
|
||||
Theme.of(context).scaffoldBackgroundColor,
|
||||
width: 1,
|
||||
),
|
||||
),
|
||||
@ -41,6 +44,7 @@ class MemoryProgressIndicator extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
},
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user