Fix placeholder color (#1235)
This commit is contained in:
commit
63b17d010a
50
CHANGELOG.md
Normal file
50
CHANGELOG.md
Normal file
|
@ -0,0 +1,50 @@
|
|||
# CHANGELOG
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Added
|
||||
* #### Map View ✨
|
||||
|
||||
You can now explore the photos you've taken around the world!
|
||||
|
||||
Click on the Map icon on the Search screen to view your photos laid out on a map.
|
||||
|
||||
* #### Cover Photos ✨
|
||||
You can now set cover photos for your albums.
|
||||
|
||||
Open an album, and click on the overflow menu on the top right corner to pick your favorite memory from that album.
|
||||
|
||||
### Improvements
|
||||
|
||||
* This release contains massive improvements to how smoothly our gallery
|
||||
scrolls. More improvements are on the way!
|
||||
|
||||
|
||||
## 0.7.62
|
||||
|
||||
### Added
|
||||
#### Collages ✨
|
||||
|
||||
Create collages out of your favorite photos!
|
||||
|
||||
Select your photos, and click on "Create collage" to build a single frame that captures your whole memory.
|
||||
|
||||
|
||||
#### Album sort order
|
||||
|
||||
You can now choose how photos within your albums are ordered – newest or oldest first.
|
||||
|
||||
This is useful for albums of trips and events, where you wish to see your stories unfold along their original timelines.
|
||||
|
||||
Click on the overflow menu within an album to configure how it's sorted.
|
||||
|
||||
|
||||
#### Shared album improvements
|
||||
|
||||
Photos in albums that are shared with you will now be shown in your home gallery. You can hide them by simply archiving the shared album.
|
||||
|
||||
|
||||
### Improvements
|
||||
|
||||
|
||||
We've worked super hard to improve how smoothly our home gallery scrolls. Skimming through your memories should be a lot more enjoyable now.
|
|
@ -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 = 10;
|
||||
static const currentChangeLogVersion = 11;
|
||||
|
||||
LatestVersionInfo? _latestVersion;
|
||||
final _logger = Logger("UpdateService");
|
||||
|
|
|
@ -104,35 +104,26 @@ class _ChangeLogPageState extends State<ChangeLogPage> {
|
|||
final List<ChangeLogEntry> items = [];
|
||||
items.add(
|
||||
ChangeLogEntry(
|
||||
"Collages ✨",
|
||||
'Create collages out of your favorite photos!\n\nSelect your photos, '
|
||||
'and click on "Create collage" to build a single frame that captures your whole memory.',
|
||||
"Map View ✨",
|
||||
'You can now explore the photos you\'ve taken around the world!!\n'
|
||||
'\nClick on the Map icon on the Search screen to view your photos'
|
||||
' laid out on a map.',
|
||||
),
|
||||
);
|
||||
|
||||
items.add(
|
||||
ChangeLogEntry(
|
||||
"Album sort order",
|
||||
'You can now choose how photos within your albums are ordered – '
|
||||
'newest or oldest first.\n\nThis is useful for albums of trips '
|
||||
'and events, where you wish to see your stories unfold along '
|
||||
'their original timelines.\n\nClick on the overflow menu within '
|
||||
'an album to configure how it\'s sorted.',
|
||||
"Cover Photos ✨",
|
||||
'You can now set cover photos for your albums.\n\nOpen an album, and '
|
||||
'click on the overflow menu on the top right corner to pick your favorite memory from that album.',
|
||||
),
|
||||
);
|
||||
|
||||
items.add(
|
||||
ChangeLogEntry(
|
||||
"Shared album improvements",
|
||||
'Photos in albums that are shared with you will now be shown in your home gallery. You can hide them by simply archiving the shared album.',
|
||||
),
|
||||
);
|
||||
//You can now specify a custom radius while creating Location tags.
|
||||
items.add(
|
||||
ChangeLogEntry(
|
||||
"Performance improvements",
|
||||
"We've worked super hard to improve how smoothly our home gallery "
|
||||
"scrolls. Skimming through your memories should be a lot more enjoyable now.",
|
||||
"Improvements",
|
||||
"This release contains massive improvements to how smoothly our "
|
||||
"gallery scrolls. More improvements are on the way!",
|
||||
isFeature: false,
|
||||
),
|
||||
);
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import "dart:math";
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import "package:photos/theme/ente_theme.dart";
|
||||
|
||||
class PlaceHolderGridViewWidget extends StatelessWidget {
|
||||
const PlaceHolderGridViewWidget(
|
||||
|
@ -17,6 +18,7 @@ class PlaceHolderGridViewWidget extends StatelessWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final Color faintColor = getEnteColorScheme(context).fillFaint;
|
||||
final int limitCount = min(count, columns * 5);
|
||||
final key = '$limitCount:$columns';
|
||||
if (!_gridViewCache.containsKey(key)) {
|
||||
|
@ -25,13 +27,13 @@ class PlaceHolderGridViewWidget extends StatelessWidget {
|
|||
shrinkWrap: true,
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
itemBuilder: (context, index) {
|
||||
return Container(color: Colors.transparent);
|
||||
return Container(color: faintColor);
|
||||
},
|
||||
itemCount: limitCount,
|
||||
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
|
||||
crossAxisCount: columns,
|
||||
crossAxisSpacing: 2,
|
||||
mainAxisSpacing: 2,
|
||||
crossAxisSpacing: crossAxisSpacing,
|
||||
mainAxisSpacing: mainAxisSpacing,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
@ -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.65+465
|
||||
version: 0.7.68+468
|
||||
|
||||
environment:
|
||||
sdk: '>=2.17.0 <3.0.0'
|
||||
|
|
Loading…
Reference in a new issue