Merge pull request #893 from ente-io/show_archived_albums

show archived albums
This commit is contained in:
Neeraj Gupta 2023-02-27 10:15:21 +05:30 committed by GitHub
commit a2f0fa561e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 10 deletions

View file

@ -16,7 +16,7 @@ class UpdateService {
static final UpdateService instance = UpdateService._privateConstructor();
static const kUpdateAvailableShownTimeKey = "update_available_shown_time_key";
static const changeLogVersionKey = "update_change_log_key";
static const currentChangeLogVersion = 6;
static const currentChangeLogVersion = 7;
LatestVersionInfo? _latestVersion;
final _logger = Logger("UpdateService");
@ -39,7 +39,6 @@ class UpdateService {
}
Future<bool> resetChangeLog() async {
await _prefs.remove("userNotify.passwordReminderFlag");
return _prefs.remove(changeLogVersionKey);
}

View file

@ -85,11 +85,9 @@ class _CollectionsGalleryWidgetState extends State<CollectionsGalleryWidget>
final List<CollectionWithThumbnail> collectionsWithThumbnail =
await CollectionsService.instance.getCollectionsWithThumbnails();
// Remove uncategorized collection and archived collections
// Remove uncategorized collection
collectionsWithThumbnail.removeWhere(
(t) =>
t.collection.type == CollectionType.uncategorized ||
t.collection.isArchived(),
(t) => t.collection.type == CollectionType.uncategorized,
);
final ListMatch<CollectionWithThumbnail> favMathResult =
collectionsWithThumbnail.splitMatch(

View file

@ -106,10 +106,9 @@ class _ChangeLogPageState extends State<ChangeLogPage> {
items.add(
ChangeLogEntry(
"Referrals ✨",
"You can now double your storage by referring your friends and family"
". Both you and your loved ones will get 10 GB of storage when "
"You can now double your storage by referring your friends and family. Both you and your loved ones will get 10 GB of storage when "
"they upgrade to a paid plan.\n\nGo to Settings -> General -> "
"Referral to get started!",
"Referrals to get started!",
),
);
if (Platform.isAndroid) {
@ -124,6 +123,24 @@ class _ChangeLogPageState extends State<ChangeLogPage> {
);
}
items.add(
ChangeLogEntry(
"Verification ID",
"Security of your end-to-end encryption with those you are sharing your "
"albums with can now be verified, with the help of Verification IDs."
"\n\nPlease click on the Verify button on the album sharing page to learn more.",
),
);
items.add(
ChangeLogEntry(
"Prettier Pixels",
"This release is also packed with a bunch of user interface improvements suggested by our community."
"\n\nWe have added more actions to your Memories section, introduced archived albums to your Archived section, improved the experience of the Trash screen and sprinkled a few more improvements here and there.",
isFeature: false,
),
);
return Container(
padding: const EdgeInsets.only(left: 16),
child: Scrollbar(

View file

@ -12,7 +12,7 @@ description: ente photos application
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 0.7.27+427
version: 0.7.29+429
environment:
sdk: '>=2.17.0 <3.0.0'