Square account image

This commit is contained in:
M66B 2024-07-23 07:00:09 +02:00
parent 666876789e
commit 30396f1ae9
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}