Rules is a pro feature

This commit is contained in:
M66B 2020-10-14 17:46:56 +02:00
parent df8ecb3882
commit aeff1a39a0
1 changed files with 5 additions and 0 deletions

View File

@ -279,6 +279,11 @@ public class FragmentRules extends FragmentBase {
} }
private void onMenuExport() { private void onMenuExport() {
if (!ActivityBilling.isPro(getContext())) {
startActivity(new Intent(getContext(), ActivityBilling.class));
return;
}
Intent intent = new Intent(Intent.ACTION_CREATE_DOCUMENT); Intent intent = new Intent(Intent.ACTION_CREATE_DOCUMENT);
intent.addCategory(Intent.CATEGORY_OPENABLE); intent.addCategory(Intent.CATEGORY_OPENABLE);
intent.setType("*/*"); intent.setType("*/*");