mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-01 09:16:00 +00:00
Square account image
This commit is contained in:
parent
666876789e
commit
30396f1ae9
1 changed files with 3 additions and 3 deletions
|
@ -239,9 +239,9 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
|
|||
throw new FileNotFoundException(avatar);
|
||||
}
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
boolean circular = prefs.getBoolean("circular", true);
|
||||
bm = ImageHelper.makeCircular(bm, circular ? null : Helper.dp2pixels(context, 3));
|
||||
//SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
//boolean circular = prefs.getBoolean("circular", true);
|
||||
//bm = ImageHelper.makeCircular(bm, circular ? null : Helper.dp2pixels(context, 3));
|
||||
|
||||
return bm;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue