🐛 Fix attachment loading

This commit is contained in:
2024-11-13 00:25:02 +08:00
parent 468d1377af
commit b9ad6d4fd0
4 changed files with 39 additions and 4 deletions

View File

@ -232,7 +232,7 @@ class _ProfileEditScreenState extends State<ProfileEditScreen> {
color:
Theme.of(context).colorScheme.surfaceContainerHigh,
child: _banner != null
? UniversalImage(
? AutoResizeUniversalImage(
sn.getAttachmentUrl(_banner!),
fit: BoxFit.cover,
)

View File

@ -210,7 +210,7 @@ class _AccountPublisherEditScreenState
.colorScheme
.surfaceContainerHigh,
child: _banner != null
? UniversalImage(
? AutoResizeUniversalImage(
sn.getAttachmentUrl(_banner!),
fit: BoxFit.cover,
)