Square account image

pull/215/head
M66B 1 year ago
parent 666876789e
commit 30396f1ae9

@ -239,9 +239,9 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
throw new FileNotFoundException(avatar); throw new FileNotFoundException(avatar);
} }
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); //SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean circular = prefs.getBoolean("circular", true); //boolean circular = prefs.getBoolean("circular", true);
bm = ImageHelper.makeCircular(bm, circular ? null : Helper.dp2pixels(context, 3)); //bm = ImageHelper.makeCircular(bm, circular ? null : Helper.dp2pixels(context, 3));
return bm; return bm;
} }

Loading…
Cancel
Save