diff --git a/app/src/main/java/protect/card_locker/preferences/Settings.java b/app/src/main/java/protect/card_locker/preferences/Settings.java index 0fb8336f0..19836fa59 100644 --- a/app/src/main/java/protect/card_locker/preferences/Settings.java +++ b/app/src/main/java/protect/card_locker/preferences/Settings.java @@ -83,7 +83,7 @@ public class Settings public int getFontSizeMin(int fontSize) { - return Math.round(fontSize / 2) - 1; + return (int) (Math.round(fontSize / 2.0) - 1); } public int getFontSizeMax(int fontSize)