Skip to content
This repository was archived by the owner on Apr 2, 2018. It is now read-only.

Commit 07d1015

Browse files
committed
remove float cast
1 parent 00e2fd1 commit 07d1015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/android/IonicKeyboard.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public void initialize(CordovaInterface cordova, CordovaWebView webView) {
1818
//http://developer.android.com/guide/practices/screens_support.html
1919
DisplayMetrics dm = new DisplayMetrics();
2020
cordova.getActivity().getWindowManager().getDefaultDisplay().getMetrics(dm);
21-
final float density = (float)(dm.density);
21+
final float density = dm.density;
2222

2323
final CordovaWebView appView = webView;
2424

0 commit comments

Comments
 (0)