mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Account avatars is a pro feature
This commit is contained in:
@@ -1094,8 +1094,14 @@ public class FragmentPop extends FragmentBase {
|
||||
}
|
||||
|
||||
private void onImageSelected(Uri uri) {
|
||||
final Context context = getContext();
|
||||
|
||||
if (!ActivityBilling.isPro(context)) {
|
||||
startActivity(new Intent(context, ActivityBilling.class));
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
final Context context = getContext();
|
||||
NoStreamException.check(uri, context);
|
||||
|
||||
context.getContentResolver().takePersistableUriPermission(uri, Intent.FLAG_GRANT_READ_URI_PERMISSION);
|
||||
|
||||
Reference in New Issue
Block a user