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/write_email/widget_list_tile_write_email.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 {
|
||||
const AboutSettingsSection({super.key});
|
||||
|
@ -14,12 +15,12 @@ class AboutSettingsSection extends StatelessWidget {
|
|||
Widget build(BuildContext context) {
|
||||
return SettingsSection(
|
||||
title: S.of(context).about,
|
||||
children: const [
|
||||
SourceCodeListTile(),
|
||||
RestorePurchasesListTile(),
|
||||
ReportIssueListTile(),
|
||||
WriteEmailListTile(),
|
||||
VersionListTile(),
|
||||
children: [
|
||||
const SourceCodeListTile(),
|
||||
if (!context.isPro) const RestorePurchasesListTile(),
|
||||
const ReportIssueListTile(),
|
||||
const WriteEmailListTile(),
|
||||
const VersionListTile(),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue