mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Minor change for gallery when displayed as share mode
This commit is contained in:
@@ -108,3 +108,15 @@ class SharedToken {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@JsonSerializable(createToJson: false)
|
||||
class SharedTokenWithUrl {
|
||||
const SharedTokenWithUrl({
|
||||
required this.token,
|
||||
required this.url,
|
||||
});
|
||||
final SharedToken token;
|
||||
final String url;
|
||||
factory SharedTokenWithUrl.fromJson(Map<String, dynamic> json) =>
|
||||
_$SharedTokenWithUrlFromJson(json);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user