mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-03-31 13:51:52 -04:00
Make spotbugs happy
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user