π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Merge remote-tracking branch 'origin' into info
vishnukvmd6d0ad7dc7966
diff --cc mobile/apps/locker/lib/l10n/app_en.arbindex b97f741b91,740adda254..d969715dc5--- a/mobile/apps/locker/lib/l10n/app_en.arb+++ b/mobile/apps/locker/lib/l10n/app_en.arb@@@ -350,51 -350,161 +350,208 @@@"matrix": "Matrix","discord": "Discord","reddit": "Reddit",+ "information": "Information",+ "saveInformation": "Save information",+ "informationDescription": "Save important information that can be shared and passed down to loved ones.",+ "personalNote": "Personal note",+ "personalNoteDescription": "Save important notes or thoughts",+ "physicalRecords": "Physical records",+ "physicalRecordsDescription": "Save the real-world locations of important items",+ "accountCredentials": "Account credentials",+ "accountCredentialsDescription": "Securely store login details for important accounts",+ "emergencyContact": "Emergency contact",+ "emergencyContactDescription": "Save details of people to contact in emergencies",+ "noteName": "Title",+ "noteNameHint": "Give your note a meaningful title",+ "noteContent": "Content",+ "noteContentHint": "Write down important thoughts, instructions, or memories you want to preserve",+ "recordName": "Record name",+ "recordNameHint": "Name of the real-world item",+ "recordLocation": "Location",+ "recordLocationHint": "Where can this item be found? (e.g., 'Safety deposit box at First Bank, Box #123')",+ "recordNotes": "Notes",+ "recordNotesHint": "Any additional details about accessing or understanding this record",+ "credentialName": "Account name",+ "credentialNameHint": "Name of the service or account",+ "username": "Username",+ "usernameHint": "Login username or email address",+ "password": "Password",+ "passwordHint": "Account password",+ "credentialNotes": "Additional notes",+ "credentialNotesHint": "Recovery methods, security questions, or other important details",+ "contactName": "Contact name",+ "contactNameHint": "Full name of the emergency contact",+ "contactDetails": "Contact details",+ "contactDetailsHint": "Phone number, email, or other contact information",+ "contactNotes": "Message for contact",+ "contactNotesHint": "Important information to share with this person when they are contacted",+ "saveRecord": "Save",+ "recordSavedSuccessfully": "Record saved successfully",+ "failedToSaveRecord": "Failed to save record",+ "pleaseEnterNoteName": "Please enter a title",+ "pleaseEnterNoteContent": "Please enter content",+ "pleaseEnterRecordName": "Please enter a record name",+ "pleaseEnterLocation": "Please enter a location",+ "pleaseEnterAccountName": "Please enter an account name",+ "pleaseEnterUsername": "Please enter a username",+ "pleaseEnterPassword": "Please enter a password",+ "pleaseEnterContactName": "Please enter a contact name",- "pleaseEnterContactDetails": "Please enter contact details"++ "pleaseEnterContactDetails": "Please enter contact details",+ "allowDownloads": "Allow downloads",+ "sharedByYou": "Shared by you",+ "sharedWithYou": "Shared with you",+ "manageLink": "Manage link",+ "linkExpiry": "Link expiry",+ "linkNeverExpires": "Never",+ "linkExpired": "Expired",+ "linkEnabled": "Enabled",+ "setAPassword": "Set a password",+ "lockButtonLabel": "Lock",+ "enterPassword": "Enter password",+ "removeLink": "Remove link",+ "sendLink": "Send link",+ "setPasswordTitle": "Set password",+ "resetPasswordTitle": "Reset password",+ "allowAddingFiles": "Allow adding files",+ "disableDownloadWarningTitle": "Please note",+ "disableDownloadWarningBody": "Viewers can still take screenshots or save a copy of your files using external tools.",+ "allowAddFilesDescription": "Allow people with the link to also add files to the shared collection.",+ "after1Hour": "After 1 hour",+ "after1Day": "After 1 day",+ "after1Week": "After 1 week",+ "after1Month": "After 1 month",+ "after1Year": "After 1 year",+ "never": "Never",+ "custom": "Custom",+ "selectTime": "Select time",+ "selectDate": "Select date",+ "previous": "Previous",+ "done": "Done",+ "next": "Next",+ "noDeviceLimit": "None",+ "linkDeviceLimit": "Device limit",+ "expiredLinkInfo": "This link has expired. Please select a new expiry time or disable link expiry.",+ "linkExpiresOn": "Link will expire on {expiryTime}",+ "shareWithPeopleSectionTitle": "{numberOfPeople, plural, =0 {Share with specific people} =1 {Shared with 1 person} other {Shared with {numberOfPeople} people}}",+ "@shareWithPeopleSectionTitle": {+ "placeholders": {+ "numberOfPeople": {+ "type": "int",+ "example": "2"+ }+ }+ },+ "linkHasExpired": "Link has expired",+ "publicLinkEnabled": "Public link enabled",+ "shareALink": "Share a link",+ "addViewer": "Add viewer",+ "addCollaborator": "Add collaborator",+ "addANewEmail": "Add a new email",+ "orPickAnExistingOne": "Or pick an existing one",+ "sharedCollectionSectionDescription": "Create shared and collaborative collections with other Ente users, including users on free plans.",+ "createPublicLink": "Create public link",+ "addParticipants": "Add participants",+ "add": "Add",+ "collaboratorsCanAddFilesToTheSharedCollection": "Collaborators can add files to the shared collection.",+ "enterEmail": "Enter email",+ "viewersSuccessfullyAdded": "{count, plural, =0 {Added 0 viewers} =1 {Added 1 viewer} other {Added {count} viewers}}",+ "@viewersSuccessfullyAdded": {+ "placeholders": {+ "count": {+ "type": "int",+ "example": "2"+ }+ },+ "description": "Number of viewers that were successfully added to a collection."+ },+ "collaboratorsSuccessfullyAdded": "{count, plural, =0 {Added 0 collaborator} =1 {Added 1 collaborator} other {Added {count} collaborators}}",+ "@collaboratorsSuccessfullyAdded": {+ "placeholders": {+ "count": {+ "type": "int",+ "example": "2"+ }+ },+ "description": "Number of collaborators that were successfully added to a collection."+ },+ "addViewers": "{count, plural, =0 {Add viewer} =1 {Add viewer} other {Add viewers}}",+ "addCollaborators": "{count, plural, =0 {Add collaborator} =1 {Add collaborator} other {Add collaborators}}",+ "longPressAnEmailToVerifyEndToEndEncryption": "Long press an email to verify end to end encryption.",+ "sharing": "Sharing...",+ "invalidEmailAddress": "Invalid email address",+ "enterValidEmail": "Please enter a valid email address.",+ "oops": "Oops",+ "youCannotShareWithYourself": "You cannot share with yourself",+ "inviteToEnte": "Invite to Ente",+ "sendInvite": "Send invite",+ "shareTextRecommendUsingEnte": "Download Ente so we can easily share original quality files\n\nhttps://ente.io",+ "thisIsYourVerificationId": "This is your Verification ID",+ "someoneSharingAlbumsWithYouShouldSeeTheSameId": "Someone sharing albums with you should see the same ID on their device.",+ "howToViewShareeVerificationID": "Please ask them to long-press their email address on the settings screen, and verify that the IDs on both devices match.",+ "thisIsPersonVerificationId": "This is {email}'s Verification ID",+ "@thisIsPersonVerificationId": {+ "placeholders": {+ "email": {+ "type": "String",+ "example": "[email protected]"+ }+ }+ },+ "verificationId": "Verification ID",+ "verifyEmailID": "Verify {email}",+ "emailNoEnteAccount": "{email} does not have an Ente account.\n\nSend them an invite to share files.",+ "shareMyVerificationID": "Here's my verification ID: {verificationID} for ente.io.",+ "shareTextConfirmOthersVerificationID": "Hey, can you confirm that this is your ente.io verification ID: {verificationID}",+ "passwordLock": "Password lock",+ "manage": "Manage",+ "addedAs": "Added as",+ "removeParticipant": "Remove participant",+ "yesConvertToViewer": "Yes, convert to viewer",+ "changePermissions": "Change permissions",+ "cannotAddMoreFilesAfterBecomingViewer": "{name} will no longer be able to add files to the collection after becoming a viewer.",+ "@cannotAddMoreFilesAfterBecomingViewer": {+ "description": "Warning message when changing a collaborator to viewer",+ "placeholders": {+ "name": {+ "type": "String",+ "example": "John"+ }+ }+ },+ "removeWithQuestionMark": "Remove?",+ "removeParticipantBody": "{userEmail} will be removed from this shared collection\n\nAny files added by them will also be removed from the collection",+ "yesRemove": "Yes, remove",+ "remove": "Remove",+ "viewer": "Viewer",+ "collaborator": "Collaborator",+ "collaboratorsCanAddFilesToTheSharedAlbum": "Collaborators can add files to the shared collection.",+ "albumParticipantsCount": "{count, plural, =0 {No Participants} =1 {1 Participant} other {{count} Participants}}",+ "@albumParticipantsCount": {+ "description": "The count of participants in an album",+ "placeholders": {+ "count": {+ "type": "int",+ "example": "5"+ }+ }+ },+ "addMore": "Add more",+ "you": "You",+ "albumOwner": "Owner",+ "typeOfCollectionTypeIsNotSupportedForRename": "Type of collection {collectionType} is not supported for rename",+ "@typeOfCollectionTypeIsNotSupportedForRename": {+ "placeholders": {+ "collectionType": {+ "type": "String",+ "example": "no network"+ }+ }+ },+ "leaveCollection": "Leave collection",+ "filesAddedByYouWillBeRemovedFromTheCollection": "Files added by you will be removed from the collection",+ "leaveSharedCollection": "Leave shared collection?",+ "noSystemLockFound": "No system lock found",+ "toEnableAppLockPleaseSetupDevicePasscodeOrScreen": "To enable app lock, please setup device passcode or screen lock in your system settings.",+ "legacy": "Legacy",+ "authToManageLegacy": "Please authenticate to manage your trusted contacts"}diff --cc mobile/apps/locker/lib/l10n/app_localizations.dartindex 1fc08721a8,479860f2d6..949982bb17--- a/mobile/apps/locker/lib/l10n/app_localizations.dart+++ b/mobile/apps/locker/lib/l10n/app_localizations.dart@@@ -1018,287 -1018,587 +1018,869 @@@ abstract class AppLocalizations/// **'Reddit'**String get reddit;+ /// No description provided for @information.+ ///+ /// In en, this message translates to:+ /// **'Information'**+ String get information;++ /// No description provided for @saveInformation.+ ///+ /// In en, this message translates to:+ /// **'Save information'**+ String get saveInformation;++ /// No description provided for @informationDescription.+ ///+ /// In en, this message translates to:+ /// **'Save important information that can be shared and passed down to loved ones.'**+ String get informationDescription;++ /// No description provided for @personalNote.+ ///+ /// In en, this message translates to:+ /// **'Personal note'**+ String get personalNote;++ /// No description provided for @personalNoteDescription.+ ///+ /// In en, this message translates to:+ /// **'Save important notes or thoughts'**+ String get personalNoteDescription;++ /// No description provided for @physicalRecords.+ ///+ /// In en, this message translates to:+ /// **'Physical records'**+ String get physicalRecords;++ /// No description provided for @physicalRecordsDescription.+ ///+ /// In en, this message translates to:+ /// **'Save the real-world locations of important items'**+ String get physicalRecordsDescription;++ /// No description provided for @accountCredentials.+ ///+ /// In en, this message translates to:+ /// **'Account credentials'**+ String get accountCredentials;++ /// No description provided for @accountCredentialsDescription.+ ///+ /// In en, this message translates to:+ /// **'Securely store login details for important accounts'**+ String get accountCredentialsDescription;++ /// No description provided for @emergencyContact.+ ///+ /// In en, this message translates to:+ /// **'Emergency contact'**+ String get emergencyContact;++ /// No description provided for @emergencyContactDescription.+ ///+ /// In en, this message translates to:+ /// **'Save details of people to contact in emergencies'**+ String get emergencyContactDescription;++ /// No description provided for @noteName.+ ///+ /// In en, this message translates to:+ /// **'Title'**+ String get noteName;++ /// No description provided for @noteNameHint.+ ///+ /// In en, this message translates to:+ /// **'Give your note a meaningful title'**+ String get noteNameHint;++ /// No description provided for @noteContent.+ ///+ /// In en, this message translates to:+ /// **'Content'**+ String get noteContent;++ /// No description provided for @noteContentHint.+ ///+ /// In en, this message translates to:+ /// **'Write down important thoughts, instructions, or memories you want to preserve'**+ String get noteContentHint;++ /// No description provided for @recordName.+ ///+ /// In en, this message translates to:+ /// **'Record name'**+ String get recordName;++ /// No description provided for @recordNameHint.+ ///+ /// In en, this message translates to:+ /// **'Name of the real-world item'**+ String get recordNameHint;++ /// No description provided for @recordLocation.+ ///+ /// In en, this message translates to:+ /// **'Location'**+ String get recordLocation;++ /// No description provided for @recordLocationHint.+ ///+ /// In en, this message translates to:+ /// **'Where can this item be found? (e.g., \'Safety deposit box at First Bank, Box #123\')'**+ String get recordLocationHint;++ /// No description provided for @recordNotes.+ ///+ /// In en, this message translates to:+ /// **'Notes'**+ String get recordNotes;++ /// No description provided for @recordNotesHint.+ ///+ /// In en, this message translates to:+ /// **'Any additional details about accessing or understanding this record'**+ String get recordNotesHint;++ /// No description provided for @credentialName.+ ///+ /// In en, this message translates to:+ /// **'Account name'**+ String get credentialName;++ /// No description provided for @credentialNameHint.+ ///+ /// In en, this message translates to:+ /// **'Name of the service or account'**+ String get credentialNameHint;++ /// No description provided for @username.+ ///+ /// In en, this message translates to:+ /// **'Username'**+ String get username;++ /// No description provided for @usernameHint.+ ///+ /// In en, this message translates to:+ /// **'Login username or email address'**+ String get usernameHint;++ /// No description provided for @password.+ ///+ /// In en, this message translates to:+ /// **'Password'**+ String get password;++ /// No description provided for @passwordHint.+ ///+ /// In en, this message translates to:+ /// **'Account password'**+ String get passwordHint;++ /// No description provided for @credentialNotes.+ ///+ /// In en, this message translates to:+ /// **'Additional notes'**+ String get credentialNotes;++ /// No description provided for @credentialNotesHint.+ ///+ /// In en, this message translates to:+ /// **'Recovery methods, security questions, or other important details'**+ String get credentialNotesHint;++ /// No description provided for @contactName.+ ///+ /// In en, this message translates to:+ /// **'Contact name'**+ String get contactName;++ /// No description provided for @contactNameHint.+ ///+ /// In en, this message translates to:+ /// **'Full name of the emergency contact'**+ String get contactNameHint;++ /// No description provided for @contactDetails.+ ///+ /// In en, this message translates to:+ /// **'Contact details'**+ String get contactDetails;++ /// No description provided for @contactDetailsHint.+ ///+ /// In en, this message translates to:+ /// **'Phone number, email, or other contact information'**+ String get contactDetailsHint;++ /// No description provided for @contactNotes.+ ///+ /// In en, this message translates to:+ /// **'Message for contact'**+ String get contactNotes;++ /// No description provided for @contactNotesHint.+ ///+ /// In en, this message translates to:+ /// **'Important information to share with this person when they are contacted'**+ String get contactNotesHint;++ /// No description provided for @saveRecord.+ ///+ /// In en, this message translates to:+ /// **'Save'**+ String get saveRecord;++ /// No description provided for @recordSavedSuccessfully.+ ///+ /// In en, this message translates to:+ /// **'Record saved successfully'**+ String get recordSavedSuccessfully;++ /// No description provided for @failedToSaveRecord.+ ///+ /// In en, this message translates to:+ /// **'Failed to save record'**+ String get failedToSaveRecord;++ /// No description provided for @pleaseEnterNoteName.+ ///+ /// In en, this message translates to:+ /// **'Please enter a title'**+ String get pleaseEnterNoteName;++ /// No description provided for @pleaseEnterNoteContent.+ ///+ /// In en, this message translates to:+ /// **'Please enter content'**+ String get pleaseEnterNoteContent;++ /// No description provided for @pleaseEnterRecordName.+ ///+ /// In en, this message translates to:+ /// **'Please enter a record name'**+ String get pleaseEnterRecordName;++ /// No description provided for @pleaseEnterLocation.+ ///+ /// In en, this message translates to:+ /// **'Please enter a location'**+ String get pleaseEnterLocation;++ /// No description provided for @pleaseEnterAccountName.+ ///+ /// In en, this message translates to:+ /// **'Please enter an account name'**+ String get pleaseEnterAccountName;++ /// No description provided for @pleaseEnterUsername.+ ///+ /// In en, this message translates to:+ /// **'Please enter a username'**+ String get pleaseEnterUsername;++ /// No description provided for @pleaseEnterPassword.+ ///+ /// In en, this message translates to:+ /// **'Please enter a password'**+ String get pleaseEnterPassword;++ /// No description provided for @pleaseEnterContactName.+ ///+ /// In en, this message translates to:+ /// **'Please enter a contact name'**+ String get pleaseEnterContactName;++ /// No description provided for @pleaseEnterContactDetails.+ ///+ /// In en, this message translates to:+ /// **'Please enter contact details'**+ String get pleaseEnterContactDetails;+++ /// No description provided for @allowDownloads.+ ///+ /// In en, this message translates to:+ /// **'Allow downloads'**+ String get allowDownloads;++ /// No description provided for @sharedByYou.+ ///+ /// In en, this message translates to:+ /// **'Shared by you'**+ String get sharedByYou;++ /// No description provided for @sharedWithYou.+ ///+ /// In en, this message translates to:+ /// **'Shared with you'**+ String get sharedWithYou;++ /// No description provided for @manageLink.+ ///+ /// In en, this message translates to:+ /// **'Manage link'**+ String get manageLink;++ /// No description provided for @linkExpiry.+ ///+ /// In en, this message translates to:+ /// **'Link expiry'**+ String get linkExpiry;++ /// No description provided for @linkNeverExpires.+ ///+ /// In en, this message translates to:+ /// **'Never'**+ String get linkNeverExpires;++ /// No description provided for @linkExpired.+ ///+ /// In en, this message translates to:+ /// **'Expired'**+ String get linkExpired;++ /// No description provided for @linkEnabled.+ ///+ /// In en, this message translates to:+ /// **'Enabled'**+ String get linkEnabled;++ /// No description provided for @setAPassword.+ ///+ /// In en, this message translates to:+ /// **'Set a password'**+ String get setAPassword;++ /// No description provided for @lockButtonLabel.+ ///+ /// In en, this message translates to:+ /// **'Lock'**+ String get lockButtonLabel;++ /// No description provided for @enterPassword.+ ///+ /// In en, this message translates to:+ /// **'Enter password'**+ String get enterPassword;++ /// No description provided for @removeLink.+ ///+ /// In en, this message translates to:+ /// **'Remove link'**+ String get removeLink;++ /// No description provided for @sendLink.+ ///+ /// In en, this message translates to:+ /// **'Send link'**+ String get sendLink;++ /// No description provided for @setPasswordTitle.+ ///+ /// In en, this message translates to:+ /// **'Set password'**+ String get setPasswordTitle;++ /// No description provided for @resetPasswordTitle.+ ///+ /// In en, this message translates to:+ /// **'Reset password'**+ String get resetPasswordTitle;++ /// No description provided for @allowAddingFiles.+ ///+ /// In en, this message translates to:+ /// **'Allow adding files'**+ String get allowAddingFiles;++ /// No description provided for @disableDownloadWarningTitle.+ ///+ /// In en, this message translates to:+ /// **'Please note'**+ String get disableDownloadWarningTitle;++ /// No description provided for @disableDownloadWarningBody.+ ///+ /// In en, this message translates to:+ /// **'Viewers can still take screenshots or save a copy of your files using external tools.'**+ String get disableDownloadWarningBody;++ /// No description provided for @allowAddFilesDescription.+ ///+ /// In en, this message translates to:+ /// **'Allow people with the link to also add files to the shared collection.'**+ String get allowAddFilesDescription;++ /// No description provided for @after1Hour.+ ///+ /// In en, this message translates to:+ /// **'After 1 hour'**+ String get after1Hour;++ /// No description provided for @after1Day.+ ///+ /// In en, this message translates to:+ /// **'After 1 day'**+ String get after1Day;++ /// No description provided for @after1Week.+ ///+ /// In en, this message translates to:+ /// **'After 1 week'**+ String get after1Week;++ /// No description provided for @after1Month.+ ///+ /// In en, this message translates to:+ /// **'After 1 month'**+ String get after1Month;++ /// No description provided for @after1Year.+ ///+ /// In en, this message translates to:+ /// **'After 1 year'**+ String get after1Year;++ /// No description provided for @never.+ ///+ /// In en, this message translates to:+ /// **'Never'**+ String get never;++ /// No description provided for @custom.+ ///+ /// In en, this message translates to:+ /// **'Custom'**+ String get custom;++ /// No description provided for @selectTime.+ ///+ /// In en, this message translates to:+ /// **'Select time'**+ String get selectTime;++ /// No description provided for @selectDate.+ ///+ /// In en, this message translates to:+ /// **'Select date'**+ String get selectDate;++ /// No description provided for @previous.+ ///+ /// In en, this message translates to:+ /// **'Previous'**+ String get previous;++ /// No description provided for @done.+ ///+ /// In en, this message translates to:+ /// **'Done'**+ String get done;++ /// No description provided for @next.+ ///+ /// In en, this message translates to:+ /// **'Next'**+ String get next;++ /// No description provided for @noDeviceLimit.+ ///+ /// In en, this message translates to:+ /// **'None'**+ String get noDeviceLimit;++ /// No description provided for @linkDeviceLimit.+ ///+ /// In en, this message translates to:+ /// **'Device limit'**+ String get linkDeviceLimit;++ /// No description provided for @expiredLinkInfo.+ ///+ /// In en, this message translates to:+ /// **'This link has expired. Please select a new expiry time or disable link expiry.'**+ String get expiredLinkInfo;++ /// No description provided for @linkExpiresOn.+ ///+ /// In en, this message translates to:+ /// **'Link will expire on {expiryTime}'**+ String linkExpiresOn(Object expiryTime);++ /// No description provided for @shareWithPeopleSectionTitle.+ ///+ /// In en, this message translates to:+ /// **'{numberOfPeople, plural, =0 {Share with specific people} =1 {Shared with 1 person} other {Shared with {numberOfPeople} people}}'**+ String shareWithPeopleSectionTitle(int numberOfPeople);++ /// No description provided for @linkHasExpired.+ ///+ /// In en, this message translates to:+ /// **'Link has expired'**+ String get linkHasExpired;++ /// No description provided for @publicLinkEnabled.+ ///+ /// In en, this message translates to:+ /// **'Public link enabled'**+ String get publicLinkEnabled;++ /// No description provided for @shareALink.+ ///+ /// In en, this message translates to:+ /// **'Share a link'**+ String get shareALink;++ /// No description provided for @addViewer.+ ///+ /// In en, this message translates to:+ /// **'Add viewer'**+ String get addViewer;++ /// No description provided for @addCollaborator.+ ///+ /// In en, this message translates to:+ /// **'Add collaborator'**+ String get addCollaborator;++ /// No description provided for @addANewEmail.+ ///+ /// In en, this message translates to:+ /// **'Add a new email'**+ String get addANewEmail;++ /// No description provided for @orPickAnExistingOne.+ ///+ /// In en, this message translates to:+ /// **'Or pick an existing one'**+ String get orPickAnExistingOne;++ /// No description provided for @sharedCollectionSectionDescription.+ ///+ /// In en, this message translates to:+ /// **'Create shared and collaborative collections with other Ente users, including users on free plans.'**+ String get sharedCollectionSectionDescription;++ /// No description provided for @createPublicLink.+ ///+ /// In en, this message translates to:+ /// **'Create public link'**+ String get createPublicLink;++ /// No description provided for @addParticipants.+ ///+ /// In en, this message translates to:+ /// **'Add participants'**+ String get addParticipants;++ /// No description provided for @add.+ ///+ /// In en, this message translates to:+ /// **'Add'**+ String get add;++ /// No description provided for @collaboratorsCanAddFilesToTheSharedCollection.+ ///+ /// In en, this message translates to:+ /// **'Collaborators can add files to the shared collection.'**+ String get collaboratorsCanAddFilesToTheSharedCollection;++ /// No description provided for @enterEmail.+ ///+ /// In en, this message translates to:+ /// **'Enter email'**+ String get enterEmail;++ /// Number of viewers that were successfully added to a collection.+ ///+ /// In en, this message translates to:+ /// **'{count, plural, =0 {Added 0 viewers} =1 {Added 1 viewer} other {Added {count} viewers}}'**+ String viewersSuccessfullyAdded(int count);++ /// Number of collaborators that were successfully added to a collection.+ ///+ /// In en, this message translates to:+ /// **'{count, plural, =0 {Added 0 collaborator} =1 {Added 1 collaborator} other {Added {count} collaborators}}'**+ String collaboratorsSuccessfullyAdded(int count);++ /// No description provided for @addViewers.+ ///+ /// In en, this message translates to:+ /// **'{count, plural, =0 {Add viewer} =1 {Add viewer} other {Add viewers}}'**+ String addViewers(num count);++ /// No description provided for @addCollaborators.+ ///+ /// In en, this message translates to:+ /// **'{count, plural, =0 {Add collaborator} =1 {Add collaborator} other {Add collaborators}}'**+ String addCollaborators(num count);++ /// No description provided for @longPressAnEmailToVerifyEndToEndEncryption.+ ///+ /// In en, this message translates to:+ /// **'Long press an email to verify end to end encryption.'**+ String get longPressAnEmailToVerifyEndToEndEncryption;++ /// No description provided for @sharing.+ ///+ /// In en, this message translates to:+ /// **'Sharing...'**+ String get sharing;++ /// No description provided for @invalidEmailAddress.+ ///+ /// In en, this message translates to:+ /// **'Invalid email address'**+ String get invalidEmailAddress;++ /// No description provided for @enterValidEmail.+ ///+ /// In en, this message translates to:+ /// **'Please enter a valid email address.'**+ String get enterValidEmail;++ /// No description provided for @oops.+ ///+ /// In en, this message translates to:+ /// **'Oops'**+ String get oops;++ /// No description provided for @youCannotShareWithYourself.+ ///+ /// In en, this message translates to:+ /// **'You cannot share with yourself'**+ String get youCannotShareWithYourself;++ /// No description provided for @inviteToEnte.+ ///+ /// In en, this message translates to:+ /// **'Invite to Ente'**+ String get inviteToEnte;++ /// No description provided for @sendInvite.+ ///+ /// In en, this message translates to:+ /// **'Send invite'**+ String get sendInvite;++ /// No description provided for @shareTextRecommendUsingEnte.+ ///+ /// In en, this message translates to:+ /// **'Download Ente so we can easily share original quality files\n\nhttps://ente.io'**+ String get shareTextRecommendUsingEnte;++ /// No description provided for @thisIsYourVerificationId.+ ///+ /// In en, this message translates to:+ /// **'This is your Verification ID'**+ String get thisIsYourVerificationId;++ /// No description provided for @someoneSharingAlbumsWithYouShouldSeeTheSameId.+ ///+ /// In en, this message translates to:+ /// **'Someone sharing albums with you should see the same ID on their device.'**+ String get someoneSharingAlbumsWithYouShouldSeeTheSameId;++ /// No description provided for @howToViewShareeVerificationID.+ ///+ /// In en, this message translates to:+ /// **'Please ask them to long-press their email address on the settings screen, and verify that the IDs on both devices match.'**+ String get howToViewShareeVerificationID;++ /// No description provided for @thisIsPersonVerificationId.+ ///+ /// In en, this message translates to:+ /// **'This is {email}\'s Verification ID'**+ String thisIsPersonVerificationId(String email);++ /// No description provided for @verificationId.+ ///+ /// In en, this message translates to:+ /// **'Verification ID'**+ String get verificationId;++ /// No description provided for @verifyEmailID.+ ///+ /// In en, this message translates to:+ /// **'Verify {email}'**+ String verifyEmailID(Object email);++ /// No description provided for @emailNoEnteAccount.+ ///+ /// In en, this message translates to:+ /// **'{email} does not have an Ente account.\n\nSend them an invite to share files.'**+ String emailNoEnteAccount(Object email);++ /// No description provided for @shareMyVerificationID.+ ///+ /// In en, this message translates to:+ /// **'Here\'s my verification ID: {verificationID} for ente.io.'**+ String shareMyVerificationID(Object verificationID);++ /// No description provided for @shareTextConfirmOthersVerificationID.+ ///+ /// In en, this message translates to:+ /// **'Hey, can you confirm that this is your ente.io verification ID: {verificationID}'**+ String shareTextConfirmOthersVerificationID(Object verificationID);++ /// No description provided for @passwordLock.+ ///+ /// In en, this message translates to:+ /// **'Password lock'**+ String get passwordLock;++ /// No description provided for @manage.+ ///+ /// In en, this message translates to:+ /// **'Manage'**+ String get manage;++ /// No description provided for @addedAs.+ ///+ /// In en, this message translates to:+ /// **'Added as'**+ String get addedAs;++ /// No description provided for @removeParticipant.+ ///+ /// In en, this message translates to:+ /// **'Remove participant'**+ String get removeParticipant;++ /// No description provided for @yesConvertToViewer.+ ///+ /// In en, this message translates to:+ /// **'Yes, convert to viewer'**+ String get yesConvertToViewer;++ /// No description provided for @changePermissions.+ ///+ /// In en, this message translates to:+ /// **'Change permissions'**+ String get changePermissions;++ /// Warning message when changing a collaborator to viewer+ ///+ /// In en, this message translates to:+ /// **'{name} will no longer be able to add files to the collection after becoming a viewer.'**+ String cannotAddMoreFilesAfterBecomingViewer(String name);++ /// No description provided for @removeWithQuestionMark.+ ///+ /// In en, this message translates to:+ /// **'Remove?'**+ String get removeWithQuestionMark;++ /// No description provided for @removeParticipantBody.+ ///+ /// In en, this message translates to:+ /// **'{userEmail} will be removed from this shared collection\n\nAny files added by them will also be removed from the collection'**+ String removeParticipantBody(Object userEmail);++ /// No description provided for @yesRemove.+ ///+ /// In en, this message translates to:+ /// **'Yes, remove'**+ String get yesRemove;++ /// No description provided for @remove.+ ///+ /// In en, this message translates to:+ /// **'Remove'**+ String get remove;++ /// No description provided for @viewer.+ ///+ /// In en, this message translates to:+ /// **'Viewer'**+ String get viewer;++ /// No description provided for @collaborator.+ ///+ /// In en, this message translates to:+ /// **'Collaborator'**+ String get collaborator;++ /// No description provided for @collaboratorsCanAddFilesToTheSharedAlbum.+ ///+ /// In en, this message translates to:+ /// **'Collaborators can add files to the shared collection.'**+ String get collaboratorsCanAddFilesToTheSharedAlbum;++ /// The count of participants in an album+ ///+ /// In en, this message translates to:+ /// **'{count, plural, =0 {No Participants} =1 {1 Participant} other {{count} Participants}}'**+ String albumParticipantsCount(int count);++ /// No description provided for @addMore.+ ///+ /// In en, this message translates to:+ /// **'Add more'**+ String get addMore;++ /// No description provided for @you.+ ///+ /// In en, this message translates to:+ /// **'You'**+ String get you;++ /// No description provided for @albumOwner.+ ///+ /// In en, this message translates to:+ /// **'Owner'**+ String get albumOwner;++ /// No description provided for @typeOfCollectionTypeIsNotSupportedForRename.+ ///+ /// In en, this message translates to:+ /// **'Type of collection {collectionType} is not supported for rename'**+ String typeOfCollectionTypeIsNotSupportedForRename(String collectionType);++ /// No description provided for @leaveCollection.+ ///+ /// In en, this message translates to:+ /// **'Leave collection'**+ String get leaveCollection;++ /// No description provided for @filesAddedByYouWillBeRemovedFromTheCollection.+ ///+ /// In en, this message translates to:+ /// **'Files added by you will be removed from the collection'**+ String get filesAddedByYouWillBeRemovedFromTheCollection;++ /// No description provided for @leaveSharedCollection.+ ///+ /// In en, this message translates to:+ /// **'Leave shared collection?'**+ String get leaveSharedCollection;++ /// No description provided for @noSystemLockFound.+ ///+ /// In en, this message translates to:+ /// **'No system lock found'**+ String get noSystemLockFound;++ /// No description provided for @toEnableAppLockPleaseSetupDevicePasscodeOrScreen.+ ///+ /// In en, this message translates to:+ /// **'To enable app lock, please setup device passcode or screen lock in your system settings.'**+ String get toEnableAppLockPleaseSetupDevicePasscodeOrScreen;++ /// No description provided for @legacy.+ ///+ /// In en, this message translates to:+ /// **'Legacy'**+ String get legacy;++ /// No description provided for @authToManageLegacy.+ ///+ /// In en, this message translates to:+ /// **'Please authenticate to manage your trusted contacts'**+ String get authToManageLegacy;}class _AppLocalizationsDelegatediff --cc mobile/apps/locker/lib/l10n/app_localizations_en.dartindex c70a53b416,15488ab45e..03241bea60--- a/mobile/apps/locker/lib/l10n/app_localizations_en.dart+++ b/mobile/apps/locker/lib/l10n/app_localizations_en.dart@@@ -535,154 -535,379 +535,530 @@@ class AppLocalizationsEn extends AppLoc@overrideString get reddit => 'Reddit';+ @override+ String get information => 'Information';++ @override+ String get saveInformation => 'Save information';++ @override+ String get informationDescription =>+ 'Save important information that can be shared and passed down to loved ones.';++ @override+ String get personalNote => 'Personal note';++ @override+ String get personalNoteDescription => 'Save important notes or thoughts';++ @override+ String get physicalRecords => 'Physical records';++ @override+ String get physicalRecordsDescription =>+ 'Save the real-world locations of important items';++ @override+ String get accountCredentials => 'Account credentials';++ @override+ String get accountCredentialsDescription =>+ 'Securely store login details for important accounts';++ @override+ String get emergencyContact => 'Emergency contact';++ @override+ String get emergencyContactDescription =>+ 'Save details of people to contact in emergencies';++ @override+ String get noteName => 'Title';++ @override+ String get noteNameHint => 'Give your note a meaningful title';++ @override+ String get noteContent => 'Content';++ @override+ String get noteContentHint =>+ 'Write down important thoughts, instructions, or memories you want to preserve';++ @override+ String get recordName => 'Record name';++ @override+ String get recordNameHint => 'Name of the real-world item';++ @override+ String get recordLocation => 'Location';++ @override+ String get recordLocationHint =>+ 'Where can this item be found? (e.g., \'Safety deposit box at First Bank, Box #123\')';++ @override+ String get recordNotes => 'Notes';++ @override+ String get recordNotesHint =>+ 'Any additional details about accessing or understanding this record';++ @override+ String get credentialName => 'Account name';++ @override+ String get credentialNameHint => 'Name of the service or account';++ @override+ String get username => 'Username';++ @override+ String get usernameHint => 'Login username or email address';++ @override+ String get password => 'Password';++ @override+ String get passwordHint => 'Account password';++ @override+ String get credentialNotes => 'Additional notes';++ @override+ String get credentialNotesHint =>+ 'Recovery methods, security questions, or other important details';++ @override+ String get contactName => 'Contact name';++ @override+ String get contactNameHint => 'Full name of the emergency contact';++ @override+ String get contactDetails => 'Contact details';++ @override+ String get contactDetailsHint =>+ 'Phone number, email, or other contact information';++ @override+ String get contactNotes => 'Message for contact';++ @override+ String get contactNotesHint =>+ 'Important information to share with this person when they are contacted';++ @override+ String get saveRecord => 'Save';++ @override+ String get recordSavedSuccessfully => 'Record saved successfully';++ @override+ String get failedToSaveRecord => 'Failed to save record';++ @override+ String get pleaseEnterNoteName => 'Please enter a title';++ @override+ String get pleaseEnterNoteContent => 'Please enter content';++ @override+ String get pleaseEnterRecordName => 'Please enter a record name';++ @override+ String get pleaseEnterLocation => 'Please enter a location';++ @override+ String get pleaseEnterAccountName => 'Please enter an account name';++ @override+ String get pleaseEnterUsername => 'Please enter a username';++ @override+ String get pleaseEnterPassword => 'Please enter a password';++ @override+ String get pleaseEnterContactName => 'Please enter a contact name';++ @override+ String get pleaseEnterContactDetails => 'Please enter contact details';+++ @override+ String get allowDownloads => 'Allow downloads';++ @override+ String get sharedByYou => 'Shared by you';++ @override+ String get sharedWithYou => 'Shared with you';++ @override+ String get manageLink => 'Manage link';++ @override+ String get linkExpiry => 'Link expiry';++ @override+ String get linkNeverExpires => 'Never';++ @override+ String get linkExpired => 'Expired';++ @override+ String get linkEnabled => 'Enabled';++ @override+ String get setAPassword => 'Set a password';++ @override+ String get lockButtonLabel => 'Lock';++ @override+ String get enterPassword => 'Enter password';++ @override+ String get removeLink => 'Remove link';++ @override+ String get sendLink => 'Send link';++ @override+ String get setPasswordTitle => 'Set password';++ @override+ String get resetPasswordTitle => 'Reset password';++ @override+ String get allowAddingFiles => 'Allow adding files';++ @override+ String get disableDownloadWarningTitle => 'Please note';++ @override+ String get disableDownloadWarningBody =>+ 'Viewers can still take screenshots or save a copy of your files using external tools.';++ @override+ String get allowAddFilesDescription =>+ 'Allow people with the link to also add files to the shared collection.';++ @override+ String get after1Hour => 'After 1 hour';++ @override+ String get after1Day => 'After 1 day';++ @override+ String get after1Week => 'After 1 week';++ @override+ String get after1Month => 'After 1 month';++ @override+ String get after1Year => 'After 1 year';++ @override+ String get never => 'Never';++ @override+ String get custom => 'Custom';++ @override+ String get selectTime => 'Select time';++ @override+ String get selectDate => 'Select date';++ @override+ String get previous => 'Previous';++ @override+ String get done => 'Done';++ @override+ String get next => 'Next';++ @override+ String get noDeviceLimit => 'None';++ @override+ String get linkDeviceLimit => 'Device limit';++ @override+ String get expiredLinkInfo =>+ 'This link has expired. Please select a new expiry time or disable link expiry.';++ @override+ String linkExpiresOn(Object expiryTime) {+ return 'Link will expire on $expiryTime';+ }++ @override+ String shareWithPeopleSectionTitle(int numberOfPeople) {+ String _temp0 = intl.Intl.pluralLogic(+ numberOfPeople,+ locale: localeName,+ other: 'Shared with $numberOfPeople people',+ one: 'Shared with 1 person',+ zero: 'Share with specific people',+ );+ return '$_temp0';+ }++ @override+ String get linkHasExpired => 'Link has expired';++ @override+ String get publicLinkEnabled => 'Public link enabled';++ @override+ String get shareALink => 'Share a link';++ @override+ String get addViewer => 'Add viewer';++ @override+ String get addCollaborator => 'Add collaborator';++ @override+ String get addANewEmail => 'Add a new email';++ @override+ String get orPickAnExistingOne => 'Or pick an existing one';++ @override+ String get sharedCollectionSectionDescription =>+ 'Create shared and collaborative collections with other Ente users, including users on free plans.';++ @override+ String get createPublicLink => 'Create public link';++ @override+ String get addParticipants => 'Add participants';++ @override+ String get add => 'Add';++ @override+ String get collaboratorsCanAddFilesToTheSharedCollection =>+ 'Collaborators can add files to the shared collection.';++ @override+ String get enterEmail => 'Enter email';++ @override+ String viewersSuccessfullyAdded(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Added $count viewers',+ one: 'Added 1 viewer',+ zero: 'Added 0 viewers',+ );+ return '$_temp0';+ }++ @override+ String collaboratorsSuccessfullyAdded(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Added $count collaborators',+ one: 'Added 1 collaborator',+ zero: 'Added 0 collaborator',+ );+ return '$_temp0';+ }++ @override+ String addViewers(num count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Add viewers',+ one: 'Add viewer',+ zero: 'Add viewer',+ );+ return '$_temp0';+ }++ @override+ String addCollaborators(num count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: 'Add collaborators',+ one: 'Add collaborator',+ zero: 'Add collaborator',+ );+ return '$_temp0';+ }++ @override+ String get longPressAnEmailToVerifyEndToEndEncryption =>+ 'Long press an email to verify end to end encryption.';++ @override+ String get sharing => 'Sharing...';++ @override+ String get invalidEmailAddress => 'Invalid email address';++ @override+ String get enterValidEmail => 'Please enter a valid email address.';++ @override+ String get oops => 'Oops';++ @override+ String get youCannotShareWithYourself => 'You cannot share with yourself';++ @override+ String get inviteToEnte => 'Invite to Ente';++ @override+ String get sendInvite => 'Send invite';++ @override+ String get shareTextRecommendUsingEnte =>+ 'Download Ente so we can easily share original quality files\n\nhttps://ente.io';++ @override+ String get thisIsYourVerificationId => 'This is your Verification ID';++ @override+ String get someoneSharingAlbumsWithYouShouldSeeTheSameId =>+ 'Someone sharing albums with you should see the same ID on their device.';++ @override+ String get howToViewShareeVerificationID =>+ 'Please ask them to long-press their email address on the settings screen, and verify that the IDs on both devices match.';++ @override+ String thisIsPersonVerificationId(String email) {+ return 'This is $email\'s Verification ID';+ }++ @override+ String get verificationId => 'Verification ID';++ @override+ String verifyEmailID(Object email) {+ return 'Verify $email';+ }++ @override+ String emailNoEnteAccount(Object email) {+ return '$email does not have an Ente account.\n\nSend them an invite to share files.';+ }++ @override+ String shareMyVerificationID(Object verificationID) {+ return 'Here\'s my verification ID: $verificationID for ente.io.';+ }++ @override+ String shareTextConfirmOthersVerificationID(Object verificationID) {+ return 'Hey, can you confirm that this is your ente.io verification ID: $verificationID';+ }++ @override+ String get passwordLock => 'Password lock';++ @override+ String get manage => 'Manage';++ @override+ String get addedAs => 'Added as';++ @override+ String get removeParticipant => 'Remove participant';++ @override+ String get yesConvertToViewer => 'Yes, convert to viewer';++ @override+ String get changePermissions => 'Change permissions';++ @override+ String cannotAddMoreFilesAfterBecomingViewer(String name) {+ return '$name will no longer be able to add files to the collection after becoming a viewer.';+ }++ @override+ String get removeWithQuestionMark => 'Remove?';++ @override+ String removeParticipantBody(Object userEmail) {+ return '$userEmail will be removed from this shared collection\n\nAny files added by them will also be removed from the collection';+ }++ @override+ String get yesRemove => 'Yes, remove';++ @override+ String get remove => 'Remove';++ @override+ String get viewer => 'Viewer';++ @override+ String get collaborator => 'Collaborator';++ @override+ String get collaboratorsCanAddFilesToTheSharedAlbum =>+ 'Collaborators can add files to the shared collection.';++ @override+ String albumParticipantsCount(int count) {+ String _temp0 = intl.Intl.pluralLogic(+ count,+ locale: localeName,+ other: '$count Participants',+ one: '1 Participant',+ zero: 'No Participants',+ );+ return '$_temp0';+ }++ @override+ String get addMore => 'Add more';++ @override+ String get you => 'You';++ @override+ String get albumOwner => 'Owner';++ @override+ String typeOfCollectionTypeIsNotSupportedForRename(String collectionType) {+ return 'Type of collection $collectionType is not supported for rename';+ }++ @override+ String get leaveCollection => 'Leave collection';++ @override+ String get filesAddedByYouWillBeRemovedFromTheCollection =>+ 'Files added by you will be removed from the collection';++ @override+ String get leaveSharedCollection => 'Leave shared collection?';++ @override+ String get noSystemLockFound => 'No system lock found';++ @override+ String get toEnableAppLockPleaseSetupDevicePasscodeOrScreen =>+ 'To enable app lock, please setup device passcode or screen lock in your system settings.';++ @override+ String get legacy => 'Legacy';++ @override+ String get authToManageLegacy =>+ 'Please authenticate to manage your trusted contacts';}diff --cc mobile/apps/locker/lib/services/collections/collections_db.dartindex e0db0340e1,11797d4103..a6c5582d12--- a/mobile/apps/locker/lib/services/collections/collections_db.dart+++ b/mobile/apps/locker/lib/services/collections/collections_db.dart@@@ -1,10 -1,9 +1,10 @@@import 'dart:convert';import "package:ente_base/models/database.dart";+ import "package:ente_sharing/models/user.dart";+import 'package:locker/models/file_type.dart';import 'package:locker/services/collections/models/collection.dart';import 'package:locker/services/collections/models/public_url.dart';- import 'package:locker/services/collections/models/user.dart';import 'package:locker/services/files/sync/models/file.dart';import 'package:path/path.dart';import 'package:path_provider/path_provider.dart';diff --cc mobile/apps/locker/lib/ui/components/file_row_widget.dartindex 0000000000,e34af3e121..7cf86b405cmode 000000,100644..100644--- a/mobile/apps/locker/lib/ui/components/file_row_widget.dart+++ b/mobile/apps/locker/lib/ui/components/file_row_widget.dart@@@ -1,0 -1,593 +1,705 @@@+ import "dart:io";++ import "package:ente_ui/components/buttons/button_widget.dart";+ import "package:ente_ui/components/buttons/models/button_type.dart";+ import "package:ente_ui/theme/ente_theme.dart";+ import "package:ente_ui/utils/dialog_util.dart";+ import "package:ente_utils/share_utils.dart";+ import "package:flutter/material.dart";+ import "package:locker/l10n/l10n.dart";++import "package:locker/models/info/info_item.dart";+ import "package:locker/services/collections/collections_service.dart";+ import "package:locker/services/collections/models/collection.dart";+ import "package:locker/services/configuration.dart";+ import "package:locker/services/files/download/file_downloader.dart";+ import "package:locker/services/files/links/links_service.dart";+ import "package:locker/services/files/sync/metadata_updater_service.dart";+ import "package:locker/services/files/sync/models/file.dart";++import "package:locker/services/info_file_service.dart";+ import "package:locker/ui/components/button/copy_button.dart";+ import "package:locker/ui/components/file_edit_dialog.dart";+ import "package:locker/ui/components/item_list_view.dart";++import "package:locker/ui/pages/account_credentials_page.dart";++import "package:locker/ui/pages/base_info_page.dart";++import "package:locker/ui/pages/emergency_contact_page.dart";++import "package:locker/ui/pages/personal_note_page.dart";++import "package:locker/ui/pages/physical_records_page.dart";+ import "package:locker/utils/data_util.dart";+ import "package:locker/utils/date_time_util.dart";+ import "package:locker/utils/file_icon_utils.dart";+ import "package:locker/utils/snack_bar_utils.dart";+ import "package:open_file/open_file.dart";++ class FileRowWidget extends StatelessWidget {+ final EnteFile file;+ final List<Collection> collections;+ final List<OverflowMenuAction>? overflowActions;+ final bool isLastItem;++ const FileRowWidget({+ super.key,+ required this.file,+ required this.collections,+ this.overflowActions,+ this.isLastItem = false,+ });++ @override+ Widget build(BuildContext context) {+ final updateTime = file.updationTime != null+ ? DateTime.fromMicrosecondsSinceEpoch(file.updationTime!)+ : (file.modificationTime != null+ ? DateTime.fromMillisecondsSinceEpoch(file.modificationTime!)+ : (file.creationTime != null+ ? DateTime.fromMillisecondsSinceEpoch(file.creationTime!)+ : DateTime.now()));++ final textTheme = getEnteTextTheme(context);+ final colorScheme = getEnteColorScheme(context);++ final fileRowWidget = Flexible(+ flex: 6,+ child: Row(+ children: [+ SizedBox(+ height: 60,+ width: 48,- child: Icon(- FileIconUtils.getFileIcon(file.displayName),- color: FileIconUtils.getFileIconColor(file.displayName),- size: 22,- ),++ child: _buildFileIcon(),+ ),+ const SizedBox(width: 12),+ Flexible(+ child: Column(+ crossAxisAlignment: CrossAxisAlignment.start,+ mainAxisAlignment: MainAxisAlignment.center,+ children: [+ Text(+ file.displayName,+ overflow: TextOverflow.ellipsis,+ maxLines: 1,+ ),+ Row(+ children: [+ Text(+ formatDate(context, updateTime),+ style: textTheme.small.copyWith(+ color: colorScheme.textMuted,+ ),+ overflow: TextOverflow.ellipsis,+ maxLines: 1,+ ),+ FutureBuilder<int>(+ future: CollectionService.instance.getFileSize(file),+ builder: (context, snapshot) {+ final size = snapshot.data ?? 0;+ return Text(+ ' β’ ' + formatBytes(size),+ style: getEnteTextTheme(context).small.copyWith(+ color: colorScheme.textMuted,+ ),+ );+ },+ ),+ ],+ ),+ ],+ ),+ ),+ ],+ ),+ );++ return GestureDetector(+ onTap: () => _openFile(context),+ behavior: HitTestBehavior.opaque,+ child: Container(+ decoration: BoxDecoration(+ border: Border.all(+ color: colorScheme.strokeFaint,+ ),+ borderRadius: const BorderRadius.all(Radius.circular(6)),+ ),+ child: Row(+ children: [+ fileRowWidget,+ Flexible(+ child: PopupMenuButton<String>(+ onSelected: (value) => _handleMenuAction(context, value),+ icon: const Icon(+ Icons.more_vert,+ size: 20,+ ),+ itemBuilder: (BuildContext context) {+ return _buildPopupMenuItems(context);+ },+ ),+ ),+ ],+ ),+ ),+ );+ }++ List<PopupMenuItem<String>> _buildPopupMenuItems(BuildContext context) {+ if (overflowActions != null && overflowActions!.isNotEmpty) {+ return overflowActions!+ .map(+ (action) => PopupMenuItem<String>(+ value: action.id,+ child: Row(+ children: [+ Icon(action.icon, size: 16),+ const SizedBox(width: 8),+ Text(action.label),+ ],+ ),+ ),+ )+ .toList();+ } else {+ return [+ PopupMenuItem<String>(+ value: 'edit',+ child: Row(+ children: [+ const Icon(Icons.edit, size: 16),+ const SizedBox(width: 8),+ Text(context.l10n.edit),+ ],+ ),+ ),+ PopupMenuItem<String>(+ value: 'share_link',+ child: Row(+ children: [+ const Icon(Icons.share, size: 16),+ const SizedBox(width: 8),+ Text(context.l10n.share),+ ],+ ),+ ),+ PopupMenuItem<String>(+ value: 'delete',+ child: Row(+ children: [+ const Icon(Icons.delete, size: 16),+ const SizedBox(width: 8),+ Text(context.l10n.delete),+ ],+ ),+ ),+ ];+ }+ }++ void _handleMenuAction(BuildContext context, String action) {+ if (overflowActions != null && overflowActions!.isNotEmpty) {+ final customAction = overflowActions!.firstWhere(+ (a) => a.id == action,+ orElse: () => throw StateError('Action not found'),+ );+ customAction.onTap(context, file, null);+ } else {+ switch (action) {+ case 'edit':+ _showEditDialog(context);+ break;+ case 'share_link':+ _shareLink(context);+ break;+ case 'delete':+ _showDeleteConfirmationDialog(context);+ break;+ }+ }+ }++ Future<void> _shareLink(BuildContext context) async {+ final dialog = createProgressDialog(+ context,+ context.l10n.creatingShareLink,+ isDismissible: false,+ );++ try {+ await dialog.show();++ // Get or create the share link+ final shareableLink = await LinksService.instance.getOrCreateLink(file);++ await dialog.hide();++ // Show the link dialog with copy and delete options+ if (context.mounted) {+ await _showShareLinkDialog(+ context,+ shareableLink.fullURL!,+ shareableLink.linkID,+ );+ }+ } catch (e) {+ await dialog.hide();++ if (context.mounted) {+ SnackBarUtils.showWarningSnackBar(+ context,+ '${context.l10n.failedToCreateShareLink}: ${e.toString()}',+ );+ }+ }+ }++ Future<void> _showShareLinkDialog(+ BuildContext context,+ String url,+ String linkID,+ ) async {+ final colorScheme = getEnteColorScheme(context);+ final textTheme = getEnteTextTheme(context);+ // Capture the root context (with Scaffold) before showing dialog+ final rootContext = context;++ await showDialog<void>(+ context: context,+ builder: (BuildContext dialogContext) {+ return StatefulBuilder(+ builder: (context, setState) {+ return AlertDialog(+ title: Text(+ dialogContext.l10n.share,+ style: textTheme.largeBold,+ ),+ content: Column(+ mainAxisSize: MainAxisSize.min,+ crossAxisAlignment: CrossAxisAlignment.start,+ children: [+ Text(+ dialogContext.l10n.shareThisLink,+ style: textTheme.body,+ ),+ const SizedBox(height: 20),+ Container(+ padding: const EdgeInsets.all(12),+ decoration: BoxDecoration(+ color: colorScheme.fillFaint,+ borderRadius: BorderRadius.circular(8),+ border: Border.all(color: colorScheme.strokeFaint),+ ),+ child: Row(+ children: [+ Expanded(+ child: SelectableText(+ url,+ style: textTheme.small,+ ),+ ),+ const SizedBox(width: 8),+ CopyButton(url: url),+ ],+ ),+ ),+ ],+ ),+ actions: [+ TextButton(+ onPressed: () async {+ Navigator.of(context).pop();+ await _deleteShareLink(rootContext, file.uploadedFileID!);+ },+ child: Text(+ dialogContext.l10n.deleteLink,+ style:+ textTheme.body.copyWith(color: colorScheme.warning500),+ ),+ ),+ TextButton(+ onPressed: () async {+ Navigator.of(dialogContext).pop();+ // Use system share sheet to share the URL+ await shareText(+ url,+ context: rootContext,+ );+ },+ child: Text(+ dialogContext.l10n.shareLink,+ style:+ textTheme.body.copyWith(color: colorScheme.primary500),+ ),+ ),+ ],+ );+ },+ );+ },+ );+ }++ Future<void> _deleteShareLink(BuildContext context, int fileID) async {+ final result = await showChoiceDialog(+ context,+ title: context.l10n.deleteShareLinkDialogTitle,+ body: context.l10n.deleteShareLinkConfirmation,+ firstButtonLabel: context.l10n.delete,+ secondButtonLabel: context.l10n.cancel,+ firstButtonType: ButtonType.critical,+ isCritical: true,+ );+ if (result?.action == ButtonAction.first && context.mounted) {+ final dialog = createProgressDialog(+ context,+ context.l10n.deletingShareLink,+ isDismissible: false,+ );++ try {+ await dialog.show();+ await LinksService.instance.deleteLink(fileID);+ await dialog.hide();++ if (context.mounted) {+ SnackBarUtils.showInfoSnackBar(+ context,+ context.l10n.shareLinkDeletedSuccessfully,+ );+ }+ } catch (e) {+ await dialog.hide();++ if (context.mounted) {+ SnackBarUtils.showWarningSnackBar(+ context,+ '${context.l10n.failedToDeleteShareLink}: ${e.toString()}',+ );+ }+ }+ }+ }++ Future<void> _showDeleteConfirmationDialog(BuildContext context) async {+ final result = await showChoiceDialog(+ context,+ title: context.l10n.deleteFile,+ body: context.l10n.deleteFileConfirmation(file.displayName),+ firstButtonLabel: context.l10n.delete,+ secondButtonLabel: context.l10n.cancel,+ firstButtonType: ButtonType.critical,+ isCritical: true,+ );++ if (result?.action == ButtonAction.first && context.mounted) {+ await _deleteFile(context);+ }+ }++ Future<void> _deleteFile(BuildContext context) async {+ final dialog = createProgressDialog(+ context,+ context.l10n.deletingFile,+ isDismissible: false,+ );++ try {+ await dialog.show();++ final collections =+ await CollectionService.instance.getCollectionsForFile(file);+ if (collections.isNotEmpty) {+ await CollectionService.instance.trashFile(file, collections.first);+ }++ await dialog.hide();++ SnackBarUtils.showInfoSnackBar(+ context,+ context.l10n.fileDeletedSuccessfully,+ );+ } catch (e) {+ await dialog.hide();++ SnackBarUtils.showWarningSnackBar(+ context,+ context.l10n.failedToDeleteFile(e.toString()),+ );+ }+ }++ Future<void> _showEditDialog(BuildContext context) async {+ final allCollections = await CollectionService.instance.getCollections();+ allCollections.removeWhere(+ (c) => c.type == CollectionType.uncategorized,+ );++ final result = await showFileEditDialog(+ context,+ file: file,+ collections: allCollections,+ );++ if (result != null && context.mounted) {+ List<Collection> currentCollections;+ try {+ currentCollections =+ await CollectionService.instance.getCollectionsForFile(file);+ } catch (e) {+ currentCollections = <Collection>[];+ }++ final currentCollectionsSet = currentCollections.toSet();++ final newCollectionsSet = result.selectedCollections.toSet();++ final collectionsToAdd =+ newCollectionsSet.difference(currentCollectionsSet).toList();++ final collectionsToRemove =+ currentCollectionsSet.difference(newCollectionsSet).toList();++ final currentTitle = file.displayName;+ final currentCaption = file.caption ?? '';+ final hasMetadataChanged =+ result.title != currentTitle || result.caption != currentCaption;++ if (hasMetadataChanged || currentCollectionsSet != newCollectionsSet) {+ final dialog = createProgressDialog(+ context,+ context.l10n.pleaseWait,+ isDismissible: false,+ );+ await dialog.show();++ try {+ final List<Future<void>> apiCalls = [];+ for (final collection in collectionsToAdd) {+ apiCalls.add(+ CollectionService.instance.addToCollection(collection, file),+ );+ }+ await Future.wait(apiCalls);+ apiCalls.clear();++ for (final collection in collectionsToRemove) {+ apiCalls.add(+ CollectionService.instance+ .move(file, collection, newCollectionsSet.first),+ );+ }+ if (hasMetadataChanged) {+ apiCalls.add(+ MetadataUpdaterService.instance+ .editFileNameAndCaption(file, result.title, result.caption),+ );+ }+ await Future.wait(apiCalls);++ await dialog.hide();++ SnackBarUtils.showInfoSnackBar(+ context,+ context.l10n.fileUpdatedSuccessfully,+ );+ } catch (e) {+ await dialog.hide();++ SnackBarUtils.showWarningSnackBar(+ context,+ context.l10n.failedToUpdateFile(e.toString()),+ );+ }+ } else {+ SnackBarUtils.showWarningSnackBar(+ context,+ context.l10n.noChangesWereMade,+ );+ }+ }+ }+++ Widget _buildFileIcon() {++ // Check if this is an info file++ if (InfoFileService.instance.isInfoFile(file)) {++ try {++ final infoItem = InfoFileService.instance.extractInfoFromFile(file);++ if (infoItem != null) {++ return Icon(++ _getInfoTypeIcon(infoItem.type),++ color: _getInfoTypeColor(infoItem.type),++ size: 20,++ );++ }++ } catch (e) {++ // Fallback to default icon if extraction fails++ }++ }++++ // For non-info files or if extraction fails, use the original logic++ return Icon(++ FileIconUtils.getFileIcon(file.displayName),++ color: FileIconUtils.getFileIconColor(file.displayName),++ size: 20,++ );++ }++++ IconData _getInfoTypeIcon(InfoType type) {++ switch (type) {++ case InfoType.note:++ return Icons.note;++ case InfoType.accountCredential:++ return Icons.key;++ case InfoType.physicalRecord:++ return Icons.inventory;++ case InfoType.emergencyContact:++ return Icons.emergency;++ }++ }++++ Color _getInfoTypeColor(InfoType type) {++ switch (type) {++ case InfoType.note:++ return Colors.blue;++ case InfoType.accountCredential:++ return Colors.orange;++ case InfoType.physicalRecord:++ return Colors.green;++ case InfoType.emergencyContact:++ return Colors.red;++ }++ }+++ Future<void> _openFile(BuildContext context) async {++ // Check if this is an info file++ if (InfoFileService.instance.isInfoFile(file)) {++ return _openInfoFile(context);++ }+++ if (file.localPath != null) {+ final localFile = File(file.localPath!);+ if (await localFile.exists()) {+ await _launchFile(context, localFile, file.displayName);+ return;+ }+ }++ final String cachedFilePath =+ "${Configuration.instance.getCacheDirectory()}${file.displayName}";+ final File cachedFile = File(cachedFilePath);+ if (await cachedFile.exists()) {+ await _launchFile(context, cachedFile, file.displayName);+ return;+ }++ final dialog = createProgressDialog(+ context,+ context.l10n.downloading,+ isDismissible: false,+ );++ try {+ await dialog.show();+ final fileKey = await CollectionService.instance.getFileKey(file);+ final decryptedFile = await downloadAndDecrypt(+ file,+ fileKey,+ progressCallback: (downloaded, total) {+ if (total > 0 && downloaded >= 0) {+ final percentage =+ ((downloaded / total) * 100).clamp(0, 100).round();+ dialog.update(+ message: context.l10n.downloadingProgress(percentage),+ );+ } else {+ dialog.update(message: context.l10n.downloading);+ }+ },+ shouldUseCache: true,+ );++ await dialog.hide();++ if (decryptedFile != null) {+ await _launchFile(context, decryptedFile, file.displayName);+ } else {+ await showErrorDialog(+ context,+ context.l10n.downloadFailed,+ context.l10n.failedToDownloadOrDecrypt,+ );+ }+ } catch (e) {+ await dialog.hide();+ await showErrorDialog(+ context,+ context.l10n.errorOpeningFile,+ context.l10n.errorOpeningFileMessage(e.toString()),+ );+ }+ }+++ Future<void> _openInfoFile(BuildContext context) async {++ try {++ final infoItem = InfoFileService.instance.extractInfoFromFile(file);++ if (infoItem == null) {++ await showErrorDialog(++ context,++ context.l10n.errorOpeningFile,++ 'Unable to extract information from this file',++ );++ return;++ }++++ // Navigate to the appropriate page based on info type in view mode++ Widget page;++ switch (infoItem.type) {++ case InfoType.note:++ page = PersonalNotePage(++ mode: InfoPageMode.view,++ existingFile: file,++ );++ break;++ case InfoType.accountCredential:++ page = AccountCredentialsPage(++ mode: InfoPageMode.view,++ existingFile: file,++ );++ break;++ case InfoType.physicalRecord:++ page = PhysicalRecordsPage(++ mode: InfoPageMode.view,++ existingFile: file,++ );++ break;++ case InfoType.emergencyContact:++ page = EmergencyContactPage(++ mode: InfoPageMode.view,++ existingFile: file,++ );++ break;++ }++++ await Navigator.of(context).push(++ MaterialPageRoute(builder: (context) => page),++ );++ } catch (e) {++ await showErrorDialog(++ context,++ context.l10n.errorOpeningFile,++ 'Failed to open info file: ${e.toString()}',++ );++ }++ }+++ Future<void> _launchFile(+ BuildContext context,+ File file,+ String fileName,+ ) async {+ try {+ await OpenFile.open(file.path);+ } catch (e) {+ await showErrorDialog(+ context,+ context.l10n.errorOpeningFile,+ context.l10n.couldNotOpenFile(e.toString()),+ );+ }+ }+ }diff --cc mobile/apps/locker/lib/ui/components/item_list_view.dartindex df994cd822,cc68a8f4a4..a90f8a1747--- a/mobile/apps/locker/lib/ui/components/item_list_view.dart+++ b/mobile/apps/locker/lib/ui/components/item_list_view.dart@@@ -1,36 -1,11 +1,13 @@@- import 'dart:io';-- import 'package:ente_ui/components/buttons/button_widget.dart';- import 'package:ente_ui/components/buttons/models/button_type.dart';import 'package:ente_ui/theme/ente_theme.dart';- import 'package:ente_ui/utils/dialog_util.dart';- import 'package:ente_utils/share_utils.dart';import 'package:flutter/material.dart';- import 'package:flutter/services.dart';import 'package:locker/l10n/l10n.dart';+import 'package:locker/models/file_type.dart';- import 'package:locker/models/info/info_item.dart';- import 'package:locker/services/collections/collections_service.dart';import 'package:locker/services/collections/models/collection.dart';- import 'package:locker/services/configuration.dart';- import 'package:locker/services/files/download/file_downloader.dart';- import 'package:locker/services/files/links/links_service.dart';- import 'package:locker/services/files/sync/metadata_updater_service.dart';import 'package:locker/services/files/sync/models/file.dart';+import 'package:locker/services/info_file_service.dart';- import 'package:locker/ui/components/file_edit_dialog.dart';- import 'package:locker/ui/pages/account_credentials_page.dart';- import 'package:locker/ui/pages/base_info_page.dart';- import 'package:locker/ui/pages/collection_page.dart';- import 'package:locker/ui/pages/emergency_contact_page.dart';- import 'package:locker/ui/pages/personal_note_page.dart';- import 'package:locker/ui/pages/physical_records_page.dart';- import 'package:locker/utils/collection_actions.dart';+ import "package:locker/ui/components/collection_row_widget.dart";+ import "package:locker/ui/components/file_row_widget.dart";import 'package:locker/utils/collection_sort_util.dart';- import 'package:locker/utils/date_time_util.dart';- import 'package:locker/utils/file_icon_utils.dart';- import 'package:locker/utils/snack_bar_utils.dart';- import 'package:open_file/open_file.dart';class OverflowMenuAction {final String id;diff --cc mobile/apps/locker/lib/ui/pages/home_page.dartindex 3d12bb8365,46ef115230..acc1ff6956--- a/mobile/apps/locker/lib/ui/pages/home_page.dart+++ b/mobile/apps/locker/lib/ui/pages/home_page.dart@@@ -804,31 -733,34 +748,42 @@@ class _HomePageState extends UploaderPa}}- Future<void> _loadCollectionFileCounts() async {- final counts = <int, int>{};-- for (final collection in _displayedCollections.take(4)) {- try {- final files =- await CollectionService.instance.getFilesInCollection(collection);- counts[collection.id] = files.length;- } catch (e) {- counts[collection.id] = 0;- }- }-- if (mounted) {- setState(() {- _collectionFileCounts = counts;- });- }+ List<Widget> _buildCollectionSection({+ required String title,+ required List<Collection> collections,+ required UISectionType viewType,+ }) {+ return [+ SectionOptions(+ onTap: () {+ Navigator.of(context).push(+ MaterialPageRoute(+ builder: (context) => AllCollectionsPage(+ viewType: viewType,+ ),+ ),+ );+ },+ SectionTitle(title: title),+ trailingWidget: IconButtonWidget(+ icon: Icons.chevron_right,+ iconButtonType: IconButtonType.secondary,+ iconColor: getEnteColorScheme(context).blurStrokePressed,+ ),+ ),+ const SizedBox(height: 24),+ CollectionFlexGridViewWidget(+ collections: collections,+ ),+ const SizedBox(height: 24),+ ];}++ void _showInformationDialog() {+ Navigator.of(context).push(+ MaterialPageRoute(+ builder: (context) => const InformationPage(),+ ),+ );+ }}