mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
Account avatars is a pro feature
This commit is contained in:
@@ -2057,8 +2057,14 @@ public class FragmentAccount 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