feat(mobile): UI-01 album cards, photo grid and full viewer

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-09-21 15:55:44 +08:00
parent c94b9e5e58
commit f6929ae18f
17 changed files with 2750 additions and 702 deletions
@@ -257,6 +257,7 @@ class Album extends AlbumSummary {
required super.createdAt,
required super.updatedAt,
required super.statsSyncedAt,
super.cover,
});
factory Album.fromJson(Map<String, dynamic> json) => Album(
@@ -265,6 +266,9 @@ class Album extends AlbumSummary {
(dynamic e) => Category.fromJson(e as Map<String, dynamic>),
)
.toList(),
cover: json['cover'] == null
? null
: SignedUrl.fromJson(json['cover'] as Map<String, dynamic>),
id: json['id'] as String,
publicToken: json['publicToken'] as String,
ownerId: json['ownerId'] as String,