Able to block anyone

💄 Optimize user profile page
This commit is contained in:
2024-09-26 23:47:19 +08:00
parent 3ac6822ab6
commit 2673c11046
11 changed files with 204 additions and 36 deletions

View File

@ -34,7 +34,7 @@ class Attachment {
String alt;
String mimetype;
String hash;
int destination;
String destination;
bool isAnalyzed;
bool isUploaded;
Map<String, dynamic>? metadata;

View File

@ -36,7 +36,7 @@ Attachment _$AttachmentFromJson(Map<String, dynamic> json) => Attachment(
alt: json['alt'] as String,
mimetype: json['mimetype'] as String,
hash: json['hash'] as String,
destination: (json['destination'] as num).toInt(),
destination: json['destination'] as String,
isAnalyzed: json['is_analyzed'] as bool,
isUploaded: json['is_uploaded'] as bool,
metadata: json['metadata'] as Map<String, dynamic>?,