Smaller account/identity add button

pull/214/head
M66B 9 months ago
parent 6ba391245d
commit bf6577045b

@ -330,7 +330,7 @@ public class FragmentAccounts extends FragmentBase {
grpReady.setVisibility(View.VISIBLE); grpReady.setVisibility(View.VISIBLE);
if (accounts.size() == 0) { if (accounts.size() == 0) {
fab.setCustomSize(Helper.dp2pixels(context, 2 * 56)); fab.setCustomSize(Helper.dp2pixels(context, 3 * 56 / 2));
if (animator != null && !animator.isStarted()) if (animator != null && !animator.isStarted())
animator.start(); animator.start();
} else { } else {

@ -210,7 +210,7 @@ public class FragmentIdentities extends FragmentBase {
grpReady.setVisibility(View.VISIBLE); grpReady.setVisibility(View.VISIBLE);
if (identities.size() == 0) { if (identities.size() == 0) {
fab.setCustomSize(Helper.dp2pixels(context, 2 * 56)); fab.setCustomSize(Helper.dp2pixels(context, 3 * 56 / 2));
if (animator != null && !animator.isStarted()) if (animator != null && !animator.isStarted())
animator.start(); animator.start();
} else { } else {

Loading…
Cancel
Save