Show max file size on upload button tooltip

This commit is contained in:
miruka
2020-03-09 09:51:55 -04:00
parent ca8dd65f34
commit 61cc87cf18
4 changed files with 49 additions and 7 deletions

View File

@@ -35,8 +35,9 @@ class Account(ModelItem):
id: str = field()
display_name: str = ""
avatar_url: str = ""
first_sync_done: bool = False
max_upload_size: int = 0
profile_updated: datetime = ZeroDate
first_sync_done: bool = False
def __lt__(self, other: "Account") -> bool:
"""Sort by display name or user ID."""