mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-05-17 21:29:39 -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