Compare commits

..

2 Commits

Author SHA1 Message Date
M66B 7987ac272a Updated PSL
4 months ago
M66B 1a456146d0 Circular account images
4 months ago

@ -13824,7 +13824,7 @@ sch.so
// Submitted by Bohdan Dub <support@hostfly.com.ua>
ie.ua
// HostyHosting (hostyhosting.com)
// HostyHosting (https://hostyhosting.com)
hostyhosting.io
// Hypernode B.V. : https://www.hypernode.com/
@ -14853,6 +14853,11 @@ cloudsite.builders
myradweb.net
servername.us
// Raidboxes GmbH : https://raidboxes.de
// Submitted by Auke Tembrink <hostmaster@raidboxes.de>
myrdbx.io
site.rb-hosting.io
// Redgate Software: https://red-gate.com
// Submitted by Andrew Farries <andrew.farries@red-gate.com>
instances.spawn.cc
@ -15437,7 +15442,7 @@ beta.tailscale.net
ts.net
*.c.ts.net
// TASK geographical domains (www.task.gda.pl/uslugi/dns)
// TASK geographical domains (https://www.task.gda.pl/uslugi/dns)
gda.pl
gdansk.pl
gdynia.pl
@ -15484,7 +15489,7 @@ azimuth.network
tlon.network
// Tor Project, Inc. : https://torproject.org
// Submitted by Antoine Beaupré <anarcat@torproject.org
// Submitted by Antoine Beaupré <anarcat@torproject.org>
torproject.net
pages.torproject.net

@ -236,8 +236,13 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
bm = ImageHelper.getScaledBitmap(is, avatar, null, scaleToPixels);
if (bm == null)
throw new FileNotFoundException(avatar);
return bm;
}
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean circular = prefs.getBoolean("circular", true);
bm = ImageHelper.makeCircular(bm, circular ? null : Helper.dp2pixels(context, 3));
return bm;
}
@Override

Loading…
Cancel
Save