Skip to content

Commit 20583c6

Browse files
committed
1.0.2
1 parent ba52fd2 commit 20583c6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package com.sn.lib.ext
2+
3+
4+
import android.content.res.Resources.getSystem
5+
6+
val Float.dp: Float
7+
get() = (this * getSystem().displayMetrics.density + 0.5f)

0 commit comments

Comments
 (0)