Updated screenshots with v1.0.3 (#219)

* fixed errors

* removed autofocus from name textfield

* fixed equipment profiles find

* updated ios screenshots

* deleted redundant "light_equipment-profiles-iso-picker"

* merged scripts per platform

* updated android screenshots

* fixed flutter version

* Update README.md

* skip codesign for PR ipa
This commit is contained in:
Vadim 2025-02-16 12:41:56 +01:00 committed by GitHub
parent 5856100634
commit 2dee63e78e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 20 additions and 28 deletions

View file

@ -136,7 +136,7 @@ jobs:
- name: Build .ipa
run: |
flutter build ipa \
flutter build ipa ${{ inputs.upload-artifact && '' || '--no-codesign' }} \
--release \
--flavor $FLAVOR \
--target lib/main_$FLAVOR.dart \

View file

@ -23,11 +23,11 @@ Without further delay behold my new Lightmeter app inspired by Material You (a.k
# Screenshots
<p float="center">
<img src="screenshots/generated/android/android/light_metering-reflected.png" width="18.8%" />
<img src="screenshots/generated/android/android/light_timer.png" width="18.8%" />
<img src="screenshots/generated/android/android/light_settings.png" width="18.8%" />
<img src="screenshots/generated/android/android/light_equipment-profiles.png" width="18.8%" />
<img src="screenshots/generated/android/android/dark_metering-reflected.png" width="18.8%" />
<img src="screenshots/generated/ios/iphone65inch/light_metering-reflected.png" width="18.8%" />
<img src="screenshots/generated/ios/iphone65inch/light_equipment-profiles.png" width="18.8%" />
<img src="screenshots/generated/ios/iphone65inch/light_settings.png" width="18.8%" />
<img src="screenshots/generated/ios/iphone65inch/light_timer.png" width="18.8%" />
<img src="screenshots/generated/ios/iphone65inch/dark_metering-reflected.png" width="18.8%" />
</p>
# Development

View file

@ -53,6 +53,7 @@ class _MockIAPProvidersState extends State<MockIAPProviders> {
() => mockEquipmentProfilesStorageService.updateProfile(
id: any<String>(named: 'id'),
name: any<String>(named: 'name'),
isUsed: any<bool>(named: 'isUsed'),
),
).thenAnswer((_) async {});
when(() => mockEquipmentProfilesStorageService.deleteProfile(any<String>())).thenAnswer((_) async {});

View file

@ -138,7 +138,6 @@ class _NameFieldBuilder extends StatelessWidget {
),
child: LightmeterTextField(
initialValue: state.name,
autofocus: true,
maxLength: 48,
hintText: S.of(context).name,
style: Theme.of(context).listTileTheme.titleTextStyle,

View file

@ -829,11 +829,11 @@ packages:
dependency: "direct main"
description:
path: "."
ref: main
resolved-ref: "1070317079c42afa7d3f600747470c403408071f"
ref: "v2.1.3"
resolved-ref: "4575586ff6114b780ca651b7ac7c272a4a4801eb"
url: "https://github.com/vodemn/m3_lightmeter_iap"
source: git
version: "2.1.2+29"
version: "2.1.3+30"
m3_lightmeter_resources:
dependency: "direct main"
description:
@ -1562,4 +1562,4 @@ packages:
version: "3.1.3"
sdks:
dart: ">=3.5.0 <4.0.0"
flutter: ">=3.24.0"
flutter: ">=3.24.5"

View file

@ -5,6 +5,7 @@ version: 1.0.3+58
environment:
sdk: ">=3.0.0 <4.0.0"
flutter: "3.24.5"
dependencies:
app_settings: 5.1.1

View file

@ -30,11 +30,6 @@
"title": "Create multiple profiles",
"subtitle": "to match your\ncamera & lens setups"
},
{
"screenshotName": "light_equipment-profiles-iso-picker",
"title": "Fine-tune results",
"subtitle": "by selecting the values\nthat you use the most"
},
{
"screenshotName": "dark_metering-reflected",
"title": "Match your style",

View file

@ -15,7 +15,6 @@ import 'package:lightmeter/data/shared_prefs_service.dart';
import 'package:lightmeter/generated/l10n.dart';
import 'package:lightmeter/res/dimens.dart';
import 'package:lightmeter/res/theme.dart';
import 'package:lightmeter/screens/equipment_profiles/screen_equipment_profiles.dart';
import 'package:lightmeter/screens/metering/components/shared/exposure_pairs_list/widget_list_exposure_pairs.dart';
import 'package:lightmeter/screens/metering/components/shared/readings_container/components/iso_picker/widget_picker_iso.dart';
import 'package:lightmeter/screens/metering/screen_metering.dart';
@ -118,13 +117,9 @@ void main() {
await tester.tapDescendantTextOf<SettingsScreen>(S.current.equipmentProfiles);
await tester.pumpAndSettle();
await tester.tapDescendantTextOf<EquipmentProfilesScreen>(mockEquipmentProfiles.first.name);
await tester.tap(find.byIcon(Icons.edit_outlined).first);
await tester.pumpAndSettle();
await tester.takeScreenshotLight(binding, 'equipment-profiles');
await tester.tap(find.byIcon(Icons.iso_outlined).first);
await tester.pumpAndSettle();
await tester.takeScreenshotLight(binding, 'equipment-profiles-iso-picker');
});
/// and the additionally the first one with the dark theme
@ -168,7 +163,7 @@ void main() {
ev: 5,
exposurePair: timerExposurePair,
);
await tester.tap(find.text(timerExposurePair.shutterSpeed.toString()));
await tester.tap(find.text(_mockFilm.reciprocityFailure(timerExposurePair.shutterSpeed).toString()));
await tester.pumpAndSettle();
await tester.mockTimerResumedState(timerExposurePair.shutterSpeed);
await tester.takeScreenshotLight(binding, 'timer');

Binary file not shown.

Before

Width:  |  Height:  |  Size: 492 KiB

After

Width:  |  Height:  |  Size: 469 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 KiB

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 235 KiB

After

Width:  |  Height:  |  Size: 235 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 220 KiB

After

Width:  |  Height:  |  Size: 223 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 500 KiB

After

Width:  |  Height:  |  Size: 478 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 235 KiB

After

Width:  |  Height:  |  Size: 234 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 KiB

After

Width:  |  Height:  |  Size: 220 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 346 KiB

After

Width:  |  Height:  |  Size: 348 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 KiB

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 KiB

After

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 345 KiB

After

Width:  |  Height:  |  Size: 347 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 167 KiB

After

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 507 KiB

After

Width:  |  Height:  |  Size: 511 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 223 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 KiB

After

Width:  |  Height:  |  Size: 224 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 248 KiB

After

Width:  |  Height:  |  Size: 254 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 501 KiB

After

Width:  |  Height:  |  Size: 505 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 235 KiB

After

Width:  |  Height:  |  Size: 238 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 KiB

After

Width:  |  Height:  |  Size: 207 KiB

View file

@ -1,4 +0,0 @@
dart run screenshots/convert_to_store_screenshots.dart -p android -d pixel_6 -l android
dart run screenshots/convert_to_store_screenshots.dart -p ios -d iphone_13_pro -l iphone55inch
dart run screenshots/convert_to_store_screenshots.dart -p ios -d iphone_13_pro -l iphone65inch
#dart run screenshots/convert_to_store_screenshots.dart -p ios -d ipad_pro_12.9-inch_6th_generation -l ipad13inch

View file

@ -1 +1,3 @@
sh screenshots/scripts/generate_screenshots.sh "Pixel 6"
sh screenshots/scripts/generate_screenshots.sh "Pixel 6"
dart run screenshots/convert_to_store_screenshots.dart -p android -d pixel_6 -l android

View file

@ -6,3 +6,6 @@ for i in "${simulators_array[@]}"; do # https://www.baeldung.com/linux/shell-scr
sh screenshots/scripts/generate_screenshots.sh "$i"
done
killall 'Simulator'
dart run screenshots/convert_to_store_screenshots.dart -p ios -d iphone_13_pro -l iphone55inch
dart run screenshots/convert_to_store_screenshots.dart -p ios -d iphone_13_pro -l iphone65inch