Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-24 12:39:22 +02:00
parent a52436ea9a
commit a06807cd1f
13 changed files with 703 additions and 79 deletions

View File

@@ -23,6 +23,8 @@ class ServiceFileModel extends Equatable {
this.localBytes,
});
bool get isLocal => localBytes != null;
// Trasforma i byte in qualcosa di leggibile (KB, MB, GB)
String get sizeFormatted {
if (fileSize <= 0) return "0 B";