screenshots: fixed driver & script, updated izzy
Before Width: | Height: | Size: 272 KiB After Width: | Height: | Size: 244 KiB |
Before Width: | Height: | Size: 494 KiB After Width: | Height: | Size: 494 KiB |
Before Width: | Height: | Size: 209 KiB After Width: | Height: | Size: 209 KiB |
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 92 KiB |
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 364 KiB After Width: | Height: | Size: 338 KiB |
Before Width: | Height: | Size: 272 KiB After Width: | Height: | Size: 244 KiB |
Before Width: | Height: | Size: 494 KiB After Width: | Height: | Size: 494 KiB |
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 207 KiB |
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 91 KiB |
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 79 KiB |
Before Width: | Height: | Size: 365 KiB After Width: | Height: | Size: 339 KiB |
Before Width: | Height: | Size: 275 KiB After Width: | Height: | Size: 246 KiB |
Before Width: | Height: | Size: 494 KiB After Width: | Height: | Size: 494 KiB |
Before Width: | Height: | Size: 212 KiB After Width: | Height: | Size: 212 KiB |
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 93 KiB |
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 364 KiB After Width: | Height: | Size: 338 KiB |
Before Width: | Height: | Size: 272 KiB After Width: | Height: | Size: 244 KiB |
Before Width: | Height: | Size: 494 KiB After Width: | Height: | Size: 494 KiB |
Before Width: | Height: | Size: 210 KiB After Width: | Height: | Size: 210 KiB |
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 93 KiB |
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 79 KiB |
Before Width: | Height: | Size: 364 KiB After Width: | Height: | Size: 338 KiB |
Before Width: | Height: | Size: 271 KiB After Width: | Height: | Size: 243 KiB |
Before Width: | Height: | Size: 494 KiB After Width: | Height: | Size: 494 KiB |
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 207 KiB |
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 91 KiB |
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 364 KiB After Width: | Height: | Size: 338 KiB |
Before Width: | Height: | Size: 273 KiB After Width: | Height: | Size: 245 KiB |
Before Width: | Height: | Size: 494 KiB After Width: | Height: | Size: 494 KiB |
Before Width: | Height: | Size: 210 KiB After Width: | Height: | Size: 210 KiB |
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 92 KiB |
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 362 KiB After Width: | Height: | Size: 337 KiB |
Before Width: | Height: | Size: 273 KiB After Width: | Height: | Size: 243 KiB |
Before Width: | Height: | Size: 494 KiB After Width: | Height: | Size: 494 KiB |
Before Width: | Height: | Size: 208 KiB After Width: | Height: | Size: 208 KiB |
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 89 KiB |
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 362 KiB After Width: | Height: | Size: 336 KiB |
Before Width: | Height: | Size: 272 KiB After Width: | Height: | Size: 243 KiB |
Before Width: | Height: | Size: 496 KiB After Width: | Height: | Size: 496 KiB |
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 206 KiB |
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 86 KiB |
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 78 KiB |
Before Width: | Height: | Size: 363 KiB After Width: | Height: | Size: 337 KiB |
Before Width: | Height: | Size: 274 KiB After Width: | Height: | Size: 246 KiB |
Before Width: | Height: | Size: 495 KiB After Width: | Height: | Size: 495 KiB |
Before Width: | Height: | Size: 214 KiB After Width: | Height: | Size: 214 KiB |
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 93 KiB |
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 82 KiB |
Before Width: | Height: | Size: 364 KiB After Width: | Height: | Size: 338 KiB |
Before Width: | Height: | Size: 273 KiB After Width: | Height: | Size: 244 KiB |
Before Width: | Height: | Size: 494 KiB After Width: | Height: | Size: 494 KiB |
Before Width: | Height: | Size: 215 KiB After Width: | Height: | Size: 215 KiB |
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 92 KiB |
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 364 KiB After Width: | Height: | Size: 338 KiB |
Before Width: | Height: | Size: 272 KiB After Width: | Height: | Size: 244 KiB |
Before Width: | Height: | Size: 494 KiB After Width: | Height: | Size: 494 KiB |
Before Width: | Height: | Size: 208 KiB After Width: | Height: | Size: 210 KiB |
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 86 KiB |
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
Before Width: | Height: | Size: 362 KiB After Width: | Height: | Size: 337 KiB |
|
@ -1,6 +1,5 @@
|
|||
import 'dart:async';
|
||||
|
||||
import 'package:aves/model/entry.dart';
|
||||
import 'package:aves/model/favourites.dart';
|
||||
import 'package:aves/model/filters/path.dart';
|
||||
import 'package:aves/model/filters/tag.dart';
|
||||
|
@ -38,10 +37,6 @@ class AppDebugPage extends StatefulWidget {
|
|||
}
|
||||
|
||||
class _AppDebugPageState extends State<AppDebugPage> {
|
||||
CollectionSource get source => context.read<CollectionSource>();
|
||||
|
||||
Set<AvesEntry> get visibleEntries => source.visibleEntries;
|
||||
|
||||
static OverlayEntry? _taskQueueOverlayEntry;
|
||||
|
||||
@override
|
||||
|
@ -96,6 +91,8 @@ class _AppDebugPageState extends State<AppDebugPage> {
|
|||
}
|
||||
|
||||
Widget _buildGeneralTabView() {
|
||||
final source = context.read<CollectionSource>();
|
||||
final visibleEntries = source.visibleEntries;
|
||||
final catalogued = visibleEntries.where((entry) => entry.isCatalogued);
|
||||
final withGps = catalogued.where((entry) => entry.hasGps);
|
||||
final withAddress = withGps.where((entry) => entry.hasAddress);
|
||||
|
@ -172,6 +169,8 @@ class _AppDebugPageState extends State<AppDebugPage> {
|
|||
Future<void> _onActionSelected(AppDebugAction action) async {
|
||||
switch (action) {
|
||||
case AppDebugAction.prepScreenshotThumbnails:
|
||||
// get source beforehand, as widget may be unmounted during action handling
|
||||
final source = context.read<CollectionSource>();
|
||||
settings.changeFilterVisibility(settings.hiddenFilters, true);
|
||||
settings.changeFilterVisibility({
|
||||
TagFilter('aves-thumbnail', not: true),
|
||||
|
|
|
@ -37,6 +37,10 @@ for source in overlay/*/*; do
|
|||
convert -resize 350x "$source" "$target"
|
||||
fi
|
||||
done
|
||||
mv screenshots/izzy/en screenshots/izzy/en-US
|
||||
mv screenshots/izzy/es screenshots/izzy/es-MX
|
||||
mv screenshots/izzy/pt screenshots/izzy/pt-BR
|
||||
mv screenshots/izzy/zh screenshots/izzy/zh-CN
|
||||
|
||||
# play: add device frame
|
||||
for source in overlay/*/*; do
|
||||
|
@ -67,3 +71,13 @@ for source in framed/en/*; do
|
|||
convert -resize 250x "$source" "$target"
|
||||
fi
|
||||
done
|
||||
|
||||
# amazon: scale down
|
||||
for source in framed/en/*; do
|
||||
if [[ -f "$source" ]]; then
|
||||
target=${source/framed/amazon}
|
||||
echo "$source -> $target"
|
||||
mkdir -p "$(dirname "$target")"
|
||||
convert -resize x1920 "$source" -gravity center -background transparent -extent 1200x1920 "$target"
|
||||
fi
|
||||
done
|
||||
|
|
|
@ -18,11 +18,14 @@ Future<void> configureAndLaunch() async {
|
|||
..hasAcceptedTerms = true
|
||||
..isInstalledAppAccessAllowed = true
|
||||
..isErrorReportingAllowed = false
|
||||
..themeBrightness = AvesThemeBrightness.dark
|
||||
..themeColorMode = AvesThemeColorMode.polychrome
|
||||
..setTileExtent(CountryListPage.routeName, 112)
|
||||
..setTileLayout(CountryListPage.routeName, TileLayout.grid)
|
||||
// navigation
|
||||
..keepScreenOn = KeepScreenOn.always
|
||||
..homePage = HomePageSetting.collection
|
||||
..showBottomNavigationBar = true
|
||||
..setTileExtent(CountryListPage.routeName, 112)
|
||||
..setTileLayout(CountryListPage.routeName, TileLayout.grid)
|
||||
// collection
|
||||
..collectionSectionFactor = EntryGroupFactor.month
|
||||
..collectionSortFactor = EntrySortFactor.date
|
||||
|
|