mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
chore: improve image display by adding rounded corners to plugin logos
This commit is contained in:
parent
1e61bca1e9
commit
93d6e0642b
@ -55,10 +55,13 @@ class MetadataInstalledPluginItem extends HookConsumerWidget {
|
|||||||
|
|
||||||
return Basic(
|
return Basic(
|
||||||
leading: snapshot.hasData
|
leading: snapshot.hasData
|
||||||
? Image.file(
|
? ClipRRect(
|
||||||
|
borderRadius: BorderRadius.circular(8),
|
||||||
|
child: Image.file(
|
||||||
snapshot.data!,
|
snapshot.data!,
|
||||||
width: 36,
|
width: 36,
|
||||||
height: 36,
|
height: 36,
|
||||||
|
),
|
||||||
)
|
)
|
||||||
: Container(
|
: Container(
|
||||||
height: 36,
|
height: 36,
|
||||||
|
Loading…
Reference in New Issue
Block a user