mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-01 04:07:53 +08:00
Disable JournalEditor custom Folder when pro mode not available
In iOS - I have no idea how to handle the tax stuff, so there is no paid version. It would therefore we weird to show a paid banner, when the user cannot actually purchase it on ios.
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:gitjournal/features.dart';
|
||||
import 'package:gitjournal/screens/settings_screen.dart';
|
||||
import 'package:gitjournal/settings.dart';
|
||||
import 'package:gitjournal/screens/settings_widgets.dart';
|
||||
@ -47,7 +48,8 @@ class SettingsEditorsScreenState extends State<SettingsEditorsScreen> {
|
||||
setState(() {});
|
||||
},
|
||||
),
|
||||
SettingsHeader("Journal Editor"),
|
||||
if (Features.purchaseProModeAvailable) SettingsHeader("Journal Editor"),
|
||||
if (Features.purchaseProModeAvailable)
|
||||
ProListTile(
|
||||
title: const Text("Default Folder"),
|
||||
subtitle: Text(defaultNewFolder),
|
||||
|
Reference in New Issue
Block a user