diff --git a/lib/application.dart b/lib/application.dart index 623ea4b..b8939e4 100644 --- a/lib/application.dart +++ b/lib/application.dart @@ -5,8 +5,8 @@ import 'package:lightmeter/data/models/supported_locale.dart'; import 'package:lightmeter/generated/l10n.dart'; import 'package:lightmeter/platform_config.dart'; import 'package:lightmeter/providers/user_preferences_provider.dart'; +import 'package:lightmeter/screens/lightmeter_pro/screen_lightmeter_pro.dart'; import 'package:lightmeter/screens/metering/flow_metering.dart'; -import 'package:lightmeter/screens/pro_features/screen_pro_features.dart'; import 'package:lightmeter/screens/settings/flow_settings.dart'; import 'package:lightmeter/screens/shared/release_notes_dialog/flow_dialog_release_notes.dart'; import 'package:lightmeter/screens/timer/flow_timer.dart'; @@ -45,7 +45,7 @@ class Application extends StatelessWidget { routes: { "metering": (_) => const ReleaseNotesFlow(child: MeteringFlow()), "settings": (_) => const SettingsFlow(), - "proFeatures": (_) => ProFeaturesScreen(), + "lightmeterPro": (_) => LightmeterProScreen(), "timer": (context) => TimerFlow(args: ModalRoute.of(context)!.settings.arguments! as TimerFlowArgs), }, ), diff --git a/lib/l10n/intl_zh.arb b/lib/l10n/intl_zh.arb index 8e5645e..76df1fb 100644 --- a/lib/l10n/intl_zh.arb +++ b/lib/l10n/intl_zh.arb @@ -103,7 +103,6 @@ } } }, - "proFeatures": "专业功能", "getPro": "购买专业版", "featuresFree": "免费", "featuresPro": "专业版", diff --git a/lib/screens/pro_features/screen_pro_features.dart b/lib/screens/lightmeter_pro/screen_lightmeter_pro.dart similarity index 98% rename from lib/screens/pro_features/screen_pro_features.dart rename to lib/screens/lightmeter_pro/screen_lightmeter_pro.dart index f1ebc5a..b208c5f 100644 --- a/lib/screens/pro_features/screen_pro_features.dart +++ b/lib/screens/lightmeter_pro/screen_lightmeter_pro.dart @@ -10,10 +10,10 @@ import 'package:lightmeter/screens/shared/sliver_screen/screen_sliver.dart'; import 'package:lightmeter/utils/text_height.dart'; import 'package:m3_lightmeter_iap/m3_lightmeter_iap.dart'; -class ProFeaturesScreen extends StatelessWidget { +class LightmeterProScreen extends StatelessWidget { final features = Platform.isAndroid ? AppFeature.androidFeatures : AppFeature.iosFeatures; - ProFeaturesScreen({super.key}); + LightmeterProScreen({super.key}); @override Widget build(BuildContext context) {