Simplification

This commit is contained in:
M66B
2021-05-17 16:58:08 +02:00
parent e5cf2130c4
commit 459faa0ff2
2 changed files with 2 additions and 2 deletions

View File

@@ -311,7 +311,7 @@ public class FragmentFolders extends FragmentBase {
imap = (account != null && account.protocol == EntityAccount.TYPE_IMAP);
if (account != null && account.quota_usage != null && account.quota_limit != null) {
int percent = Math.round((float) account.quota_usage * 100 / account.quota_limit);
int percent = Math.round(account.quota_usage * 100f / account.quota_limit);
setSubtitle(getString(R.string.title_name_count,
account.name, NF.format(percent) + "%"));
} else