🐛 Fix attachment meta won't load

This commit is contained in:
LittleSheep 2024-06-29 22:35:56 +08:00
parent 65333ccef6
commit 31513b0e84
2 changed files with 8 additions and 2 deletions

View File

@ -178,6 +178,12 @@ class _AttachmentListState extends State<AttachmentList> {
);
}
@override
void initState() {
super.initState();
getMetadataList();
}
@override
Widget build(BuildContext context) {
if (widget.attachmentsId.isEmpty) {

View File

@ -48,8 +48,8 @@
border: 10px solid #f3f3f3;
border-top: 10px solid #8f94ca;
border-radius: 50%;
width: 32px;
height: 32px;
width: 80px;
height: 80px;
animation: spin .35s linear infinite;
}