Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
Organise files within hidden (#1356)
Browse files Browse the repository at this point in the history
  • Loading branch information
ua741 authored Aug 29, 2023
2 parents 061d9d3 + ff1f53b commit 20d7c2a
Show file tree
Hide file tree
Showing 34 changed files with 372 additions and 90 deletions.
6 changes: 4 additions & 2 deletions lib/db/files_db.dart
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,8 @@ class FilesDB {
limit: limit,
);
final files = convertToFiles(results);
final List<EnteFile> filteredFiles = await applyDBFilters(files, filterOptions);
final List<EnteFile> filteredFiles =
await applyDBFilters(files, filterOptions);
return FileLoadResult(filteredFiles, files.length == limit);
}

Expand Down Expand Up @@ -1515,7 +1516,8 @@ class FilesDB {
limit: limit,
);
final files = convertToFiles(results);
final List<EnteFile> filteredFiles = await applyDBFilters(files, filterOptions);
final List<EnteFile> filteredFiles =
await applyDBFilters(files, filterOptions);
return FileLoadResult(filteredFiles, files.length == limit);
}

Expand Down
7 changes: 6 additions & 1 deletion lib/generated/intl/messages_cs.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/generated/intl/messages_de.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/generated/intl/messages_en.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/generated/intl/messages_es.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/generated/intl/messages_fr.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/generated/intl/messages_it.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion lib/generated/intl/messages_ko.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/generated/intl/messages_nl.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/generated/intl/messages_no.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/generated/intl/messages_pl.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/generated/intl/messages_pt.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/generated/intl/messages_zh.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions lib/generated/l10n.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion lib/l10n/intl_cs.arb
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{}
{
"addToHiddenAlbum": "Add to hidden album",
"moveToHiddenAlbum": "Move to hidden album"
}
6 changes: 4 additions & 2 deletions lib/l10n/intl_de.arb
Original file line number Diff line number Diff line change
Expand Up @@ -1047,5 +1047,7 @@
},
"maps": "Karten",
"enableMaps": "Karten aktivieren",
"enableMapsDesc": "Dies zeigt Ihre Fotos auf einer Weltkarte.\n\nDiese Karte wird von OpenStreetMap gehostet und die genauen Standorte Ihrer Fotos werden niemals geteilt.\n\nSie können diese Funktion jederzeit in den Einstellungen deaktivieren."
}
"enableMapsDesc": "Dies zeigt Ihre Fotos auf einer Weltkarte.\n\nDiese Karte wird von OpenStreetMap gehostet und die genauen Standorte Ihrer Fotos werden niemals geteilt.\n\nSie können diese Funktion jederzeit in den Einstellungen deaktivieren.",
"addToHiddenAlbum": "Add to hidden album",
"moveToHiddenAlbum": "Move to hidden album"
}
6 changes: 4 additions & 2 deletions lib/l10n/intl_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -1100,5 +1100,7 @@
"unhiding": "Unhiding...",
"successfullyHid": "Successfully hid",
"successfullyUnhid": "Successfully unhid",
"crashReporting": "Crash reporting"
}
"crashReporting": "Crash reporting",
"addToHiddenAlbum": "Add to hidden album",
"moveToHiddenAlbum": "Move to hidden album"
}
6 changes: 4 additions & 2 deletions lib/l10n/intl_es.arb
Original file line number Diff line number Diff line change
Expand Up @@ -962,5 +962,7 @@
},
"setRadius": "Establecer radio",
"familyPlanPortalTitle": "Familia",
"familyPlanOverview": "Añada 5 familiares a su plan existente sin pagar más.\n\nCada miembro tiene su propio espacio privado y no puede ver los archivos del otro a menos que sean compartidos.\n\nLos planes familiares están disponibles para los clientes que tienen una suscripción de ente pagada.\n\n¡Suscríbete ahora para empezar!"
}
"familyPlanOverview": "Añada 5 familiares a su plan existente sin pagar más.\n\nCada miembro tiene su propio espacio privado y no puede ver los archivos del otro a menos que sean compartidos.\n\nLos planes familiares están disponibles para los clientes que tienen una suscripción de ente pagada.\n\n¡Suscríbete ahora para empezar!",
"addToHiddenAlbum": "Add to hidden album",
"moveToHiddenAlbum": "Move to hidden album"
}
4 changes: 3 additions & 1 deletion lib/l10n/intl_fr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -1100,5 +1100,7 @@
"unhiding": "Démasquage en cours...",
"successfullyHid": "Masquage réussi",
"successfullyUnhid": "Masquage réussi",
"crashReporting": "Rapports d'erreurs"
"crashReporting": "Rapports d'erreurs",
"addToHiddenAlbum": "Add to hidden album",
"moveToHiddenAlbum": "Move to hidden album"
}
4 changes: 3 additions & 1 deletion lib/l10n/intl_it.arb
Original file line number Diff line number Diff line change
Expand Up @@ -1099,5 +1099,7 @@
"unhiding": "Rimuovendo dal nascondiglio...",
"successfullyHid": "Nascosta con successo",
"successfullyUnhid": "Rimossa dal nascondiglio con successo",
"crashReporting": "Segnalazione di crash"
"crashReporting": "Segnalazione di crash",
"addToHiddenAlbum": "Add to hidden album",
"moveToHiddenAlbum": "Move to hidden album"
}
5 changes: 4 additions & 1 deletion lib/l10n/intl_ko.arb
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{}
{
"addToHiddenAlbum": "Add to hidden album",
"moveToHiddenAlbum": "Move to hidden album"
}
6 changes: 4 additions & 2 deletions lib/l10n/intl_nl.arb
Original file line number Diff line number Diff line change
Expand Up @@ -1095,5 +1095,7 @@
"sharedByYou": "Gedeeld door jou",
"inviteYourFriendsToEnte": "Vrienden uitnodigen voor ente",
"failedToDownloadVideo": "Downloaden van video mislukt",
"crashReporting": "Crash rapportering"
}
"crashReporting": "Crash rapportering",
"addToHiddenAlbum": "Add to hidden album",
"moveToHiddenAlbum": "Move to hidden album"
}
6 changes: 4 additions & 2 deletions lib/l10n/intl_no.arb
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@
"feedback": "Tilbakemelding",
"kindlyHelpUsWithThisInformation": "Vær vennlig og hjelp oss med denne informasjonen",
"confirmDeletePrompt": "Ja, jeg ønsker å slette denne kontoen og all dataen dens permanent.",
"confirmAccountDeletion": "Bekreft sletting av konto"
}
"confirmAccountDeletion": "Bekreft sletting av konto",
"addToHiddenAlbum": "Add to hidden album",
"moveToHiddenAlbum": "Move to hidden album"
}
6 changes: 4 additions & 2 deletions lib/l10n/intl_pl.arb
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,7 @@
"codeCopiedToClipboard": "Kod został skopiowany do schowka",
"confirm": "Potwierdź",
"twofactorAuthenticationPageTitle": "Uwierzytelnianie dwuskładnikowe",
"tryAgain": "Spróbuj ponownie"
}
"tryAgain": "Spróbuj ponownie",
"addToHiddenAlbum": "Add to hidden album",
"moveToHiddenAlbum": "Move to hidden album"
}
6 changes: 4 additions & 2 deletions lib/l10n/intl_pt.arb
Original file line number Diff line number Diff line change
Expand Up @@ -266,5 +266,7 @@
"update": "Atualização",
"installManually": "Instalar manualmente",
"criticalUpdateAvailable": "Atualização crítica disponível",
"updateAvailable": "Atualização disponível"
}
"updateAvailable": "Atualização disponível",
"addToHiddenAlbum": "Add to hidden album",
"moveToHiddenAlbum": "Move to hidden album"
}
6 changes: 4 additions & 2 deletions lib/l10n/intl_zh.arb
Original file line number Diff line number Diff line change
Expand Up @@ -1095,5 +1095,7 @@
"sharedByYou": "您共享的",
"inviteYourFriendsToEnte": "邀请您的好友加入ente",
"failedToDownloadVideo": "视频下载失败",
"crashReporting": "崩溃报告"
}
"crashReporting": "崩溃报告",
"addToHiddenAlbum": "Add to hidden album",
"moveToHiddenAlbum": "Move to hidden album"
}
Loading

0 comments on commit 20d7c2a

Please sign in to comment.