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
2
.github/workflows/build_ipa.yml
vendored
|
@ -136,7 +136,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build .ipa
|
- name: Build .ipa
|
||||||
run: |
|
run: |
|
||||||
flutter build ipa \
|
flutter build ipa ${{ inputs.upload-artifact && '' || '--no-codesign' }} \
|
||||||
--release \
|
--release \
|
||||||
--flavor $FLAVOR \
|
--flavor $FLAVOR \
|
||||||
--target lib/main_$FLAVOR.dart \
|
--target lib/main_$FLAVOR.dart \
|
||||||
|
|
10
README.md
|
@ -23,11 +23,11 @@ Without further delay behold my new Lightmeter app inspired by Material You (a.k
|
||||||
# Screenshots
|
# Screenshots
|
||||||
|
|
||||||
<p float="center">
|
<p float="center">
|
||||||
<img src="screenshots/generated/android/android/light_metering-reflected.png" width="18.8%" />
|
<img src="screenshots/generated/ios/iphone65inch/light_metering-reflected.png" width="18.8%" />
|
||||||
<img src="screenshots/generated/android/android/light_timer.png" width="18.8%" />
|
<img src="screenshots/generated/ios/iphone65inch/light_equipment-profiles.png" width="18.8%" />
|
||||||
<img src="screenshots/generated/android/android/light_settings.png" width="18.8%" />
|
<img src="screenshots/generated/ios/iphone65inch/light_settings.png" width="18.8%" />
|
||||||
<img src="screenshots/generated/android/android/light_equipment-profiles.png" width="18.8%" />
|
<img src="screenshots/generated/ios/iphone65inch/light_timer.png" width="18.8%" />
|
||||||
<img src="screenshots/generated/android/android/dark_metering-reflected.png" width="18.8%" />
|
<img src="screenshots/generated/ios/iphone65inch/dark_metering-reflected.png" width="18.8%" />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
# Development
|
# Development
|
||||||
|
|
|
@ -53,6 +53,7 @@ class _MockIAPProvidersState extends State<MockIAPProviders> {
|
||||||
() => mockEquipmentProfilesStorageService.updateProfile(
|
() => mockEquipmentProfilesStorageService.updateProfile(
|
||||||
id: any<String>(named: 'id'),
|
id: any<String>(named: 'id'),
|
||||||
name: any<String>(named: 'name'),
|
name: any<String>(named: 'name'),
|
||||||
|
isUsed: any<bool>(named: 'isUsed'),
|
||||||
),
|
),
|
||||||
).thenAnswer((_) async {});
|
).thenAnswer((_) async {});
|
||||||
when(() => mockEquipmentProfilesStorageService.deleteProfile(any<String>())).thenAnswer((_) async {});
|
when(() => mockEquipmentProfilesStorageService.deleteProfile(any<String>())).thenAnswer((_) async {});
|
||||||
|
|
|
@ -138,7 +138,6 @@ class _NameFieldBuilder extends StatelessWidget {
|
||||||
),
|
),
|
||||||
child: LightmeterTextField(
|
child: LightmeterTextField(
|
||||||
initialValue: state.name,
|
initialValue: state.name,
|
||||||
autofocus: true,
|
|
||||||
maxLength: 48,
|
maxLength: 48,
|
||||||
hintText: S.of(context).name,
|
hintText: S.of(context).name,
|
||||||
style: Theme.of(context).listTileTheme.titleTextStyle,
|
style: Theme.of(context).listTileTheme.titleTextStyle,
|
||||||
|
|
|
@ -829,11 +829,11 @@ packages:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
path: "."
|
path: "."
|
||||||
ref: main
|
ref: "v2.1.3"
|
||||||
resolved-ref: "1070317079c42afa7d3f600747470c403408071f"
|
resolved-ref: "4575586ff6114b780ca651b7ac7c272a4a4801eb"
|
||||||
url: "https://github.com/vodemn/m3_lightmeter_iap"
|
url: "https://github.com/vodemn/m3_lightmeter_iap"
|
||||||
source: git
|
source: git
|
||||||
version: "2.1.2+29"
|
version: "2.1.3+30"
|
||||||
m3_lightmeter_resources:
|
m3_lightmeter_resources:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
@ -1562,4 +1562,4 @@ packages:
|
||||||
version: "3.1.3"
|
version: "3.1.3"
|
||||||
sdks:
|
sdks:
|
||||||
dart: ">=3.5.0 <4.0.0"
|
dart: ">=3.5.0 <4.0.0"
|
||||||
flutter: ">=3.24.0"
|
flutter: ">=3.24.5"
|
||||||
|
|
|
@ -5,6 +5,7 @@ version: 1.0.3+58
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=3.0.0 <4.0.0"
|
sdk: ">=3.0.0 <4.0.0"
|
||||||
|
flutter: "3.24.5"
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
app_settings: 5.1.1
|
app_settings: 5.1.1
|
||||||
|
|
|
@ -30,11 +30,6 @@
|
||||||
"title": "Create multiple profiles",
|
"title": "Create multiple profiles",
|
||||||
"subtitle": "to match your\ncamera & lens setups"
|
"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",
|
"screenshotName": "dark_metering-reflected",
|
||||||
"title": "Match your style",
|
"title": "Match your style",
|
||||||
|
|
|
@ -15,7 +15,6 @@ import 'package:lightmeter/data/shared_prefs_service.dart';
|
||||||
import 'package:lightmeter/generated/l10n.dart';
|
import 'package:lightmeter/generated/l10n.dart';
|
||||||
import 'package:lightmeter/res/dimens.dart';
|
import 'package:lightmeter/res/dimens.dart';
|
||||||
import 'package:lightmeter/res/theme.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/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/components/shared/readings_container/components/iso_picker/widget_picker_iso.dart';
|
||||||
import 'package:lightmeter/screens/metering/screen_metering.dart';
|
import 'package:lightmeter/screens/metering/screen_metering.dart';
|
||||||
|
@ -118,13 +117,9 @@ void main() {
|
||||||
|
|
||||||
await tester.tapDescendantTextOf<SettingsScreen>(S.current.equipmentProfiles);
|
await tester.tapDescendantTextOf<SettingsScreen>(S.current.equipmentProfiles);
|
||||||
await tester.pumpAndSettle();
|
await tester.pumpAndSettle();
|
||||||
await tester.tapDescendantTextOf<EquipmentProfilesScreen>(mockEquipmentProfiles.first.name);
|
await tester.tap(find.byIcon(Icons.edit_outlined).first);
|
||||||
await tester.pumpAndSettle();
|
await tester.pumpAndSettle();
|
||||||
await tester.takeScreenshotLight(binding, 'equipment-profiles');
|
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
|
/// and the additionally the first one with the dark theme
|
||||||
|
@ -168,7 +163,7 @@ void main() {
|
||||||
ev: 5,
|
ev: 5,
|
||||||
exposurePair: timerExposurePair,
|
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.pumpAndSettle();
|
||||||
await tester.mockTimerResumedState(timerExposurePair.shutterSpeed);
|
await tester.mockTimerResumedState(timerExposurePair.shutterSpeed);
|
||||||
await tester.takeScreenshotLight(binding, 'timer');
|
await tester.takeScreenshotLight(binding, 'timer');
|
||||||
|
|
Before Width: | Height: | Size: 492 KiB After Width: | Height: | Size: 469 KiB |
Before Width: | Height: | Size: 221 KiB |
Before Width: | Height: | Size: 221 KiB After Width: | Height: | Size: 215 KiB |
Before Width: | Height: | Size: 235 KiB After Width: | Height: | Size: 235 KiB |
Before Width: | Height: | Size: 220 KiB After Width: | Height: | Size: 223 KiB |
Before Width: | Height: | Size: 500 KiB After Width: | Height: | Size: 478 KiB |
Before Width: | Height: | Size: 235 KiB After Width: | Height: | Size: 234 KiB |
Before Width: | Height: | Size: 219 KiB After Width: | Height: | Size: 220 KiB |
Before Width: | Height: | Size: 346 KiB After Width: | Height: | Size: 348 KiB |
Before Width: | Height: | Size: 159 KiB |
Before Width: | Height: | Size: 163 KiB After Width: | Height: | Size: 159 KiB |
Before Width: | Height: | Size: 177 KiB After Width: | Height: | Size: 181 KiB |
Before Width: | Height: | Size: 345 KiB After Width: | Height: | Size: 347 KiB |
Before Width: | Height: | Size: 167 KiB After Width: | Height: | Size: 169 KiB |
Before Width: | Height: | Size: 148 KiB After Width: | Height: | Size: 148 KiB |
Before Width: | Height: | Size: 507 KiB After Width: | Height: | Size: 511 KiB |
Before Width: | Height: | Size: 223 KiB |
Before Width: | Height: | Size: 227 KiB After Width: | Height: | Size: 224 KiB |
Before Width: | Height: | Size: 248 KiB After Width: | Height: | Size: 254 KiB |
Before Width: | Height: | Size: 501 KiB After Width: | Height: | Size: 505 KiB |
Before Width: | Height: | Size: 235 KiB After Width: | Height: | Size: 238 KiB |
Before Width: | Height: | Size: 206 KiB After Width: | Height: | Size: 207 KiB |
|
@ -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
|
|
|
@ -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
|
|
@ -6,3 +6,6 @@ for i in "${simulators_array[@]}"; do # https://www.baeldung.com/linux/shell-scr
|
||||||
sh screenshots/scripts/generate_screenshots.sh "$i"
|
sh screenshots/scripts/generate_screenshots.sh "$i"
|
||||||
done
|
done
|
||||||
killall 'Simulator'
|
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
|