mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
feature(web): Added option to download file and copy stream url (#209)
Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
54babaec89
commit
bd8faf2f6a
5 changed files with 61 additions and 18 deletions
|
|
@ -38,13 +38,9 @@ class AccountModel with _$AccountModel {
|
|||
|
||||
factory AccountModel.fromJson(Map<String, dynamic> json) => _$AccountModelFromJson(json);
|
||||
|
||||
String get server {
|
||||
return credentials.server;
|
||||
}
|
||||
String get server => credentials.server;
|
||||
|
||||
bool get canDownload {
|
||||
return (policy?.enableContentDownloading ?? false) && !kIsWeb;
|
||||
}
|
||||
bool get canDownload => (policy?.enableContentDownloading ?? false);
|
||||
|
||||
//Check if it's the same account on the same server
|
||||
bool sameIdentity(AccountModel other) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue