mirror of https://github.com/M66B/FairEmail.git
Rules is a pro feature
This commit is contained in:
parent
df8ecb3882
commit
aeff1a39a0
|
@ -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("*/*");
|
||||||
|
|
Loading…
Reference in New Issue