Merge branch 'main' of https://github.com/vodemn/m3_lightmeter into feature/ML-196

This commit is contained in:
Vadim 2024-11-17 09:37:45 +01:00
parent 495d7a9cd1
commit a918f067f8
4 changed files with 5 additions and 14 deletions

View file

@ -12,7 +12,7 @@ on:
jobs:
run-integration-tests:
name: Run integration tests
timeout-minutes: 60
timeout-minutes: 90
runs-on: macos-13
steps:
- uses: actions/checkout@v3

View file

@ -0,0 +1,2 @@
- [Pro] Added the ability to create custom films.
- [Pro] Added the ability to select equipment profiles in use.

View file

@ -1,8 +1,6 @@
import 'package:flutter/material.dart';
import 'package:flutter/services.dart' show rootBundle;
import 'package:lightmeter/data/models/supported_locale.dart';
import 'package:lightmeter/generated/l10n.dart';
import 'package:lightmeter/providers/user_preferences_provider.dart';
import 'package:lightmeter/res/dimens.dart';
class ReleaseNotesDialog extends StatelessWidget {
@ -40,17 +38,8 @@ class ReleaseNotesDialog extends StatelessWidget {
}
Future<String> loadReleaseNotes(BuildContext context) async {
late final String localeName;
switch (UserPreferencesProvider.localeOf(context)) {
case SupportedLocale.ru:
localeName = SupportedLocale.ru.name;
default:
localeName = SupportedLocale.en.name;
}
try {
return rootBundle.loadString('assets/release_notes/release_notes_${localeName}_$version.md');
return rootBundle.loadString('assets/release_notes/release_notes_en_$version.md');
} catch (e) {
return '';
}

View file

@ -1,7 +1,7 @@
name: lightmeter
description: Lightmeter app inspired by Material 3 design system.
publish_to: "none"
version: 0.21.0+53
version: 1.0.0+54
environment:
sdk: ">=3.0.0 <4.0.0"