mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-21 15:00:40 +00:00
allow manual restore if Pro features are not unlocked
This commit is contained in:
parent
7eac16c365
commit
59950478cc
1 changed files with 7 additions and 6 deletions
|
@ -6,6 +6,7 @@ import 'package:lightmeter/screens/settings/components/about/components/source_c
|
||||||
import 'package:lightmeter/screens/settings/components/about/components/version/widget_list_tile_version.dart';
|
import 'package:lightmeter/screens/settings/components/about/components/version/widget_list_tile_version.dart';
|
||||||
import 'package:lightmeter/screens/settings/components/about/components/write_email/widget_list_tile_write_email.dart';
|
import 'package:lightmeter/screens/settings/components/about/components/write_email/widget_list_tile_write_email.dart';
|
||||||
import 'package:lightmeter/screens/settings/components/shared/settings_section/widget_settings_section.dart';
|
import 'package:lightmeter/screens/settings/components/shared/settings_section/widget_settings_section.dart';
|
||||||
|
import 'package:lightmeter/utils/context_utils.dart';
|
||||||
|
|
||||||
class AboutSettingsSection extends StatelessWidget {
|
class AboutSettingsSection extends StatelessWidget {
|
||||||
const AboutSettingsSection({super.key});
|
const AboutSettingsSection({super.key});
|
||||||
|
@ -14,12 +15,12 @@ class AboutSettingsSection extends StatelessWidget {
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return SettingsSection(
|
return SettingsSection(
|
||||||
title: S.of(context).about,
|
title: S.of(context).about,
|
||||||
children: const [
|
children: [
|
||||||
SourceCodeListTile(),
|
const SourceCodeListTile(),
|
||||||
RestorePurchasesListTile(),
|
if (!context.isPro) const RestorePurchasesListTile(),
|
||||||
ReportIssueListTile(),
|
const ReportIssueListTile(),
|
||||||
WriteEmailListTile(),
|
const WriteEmailListTile(),
|
||||||
VersionListTile(),
|
const VersionListTile(),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue