diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/java/com/amit/kotlib/shinebtn/ShineButton.kt b/app/src/main/java/com/amit/kotlib/shinebtn/ShineButton.kt
index d886047..68f02b2 100644
--- a/app/src/main/java/com/amit/kotlib/shinebtn/ShineButton.kt
+++ b/app/src/main/java/com/amit/kotlib/shinebtn/ShineButton.kt
@@ -225,7 +225,7 @@ class ShineButton : PorterShapeImageView {
fun showAnim() {
if (activity != null) {
val rootView = activity!!.findViewById(Window.ID_ANDROID_CONTENT) as ViewGroup
- shineView = ShineView(activity, this, shineParams)
+ shineView = ShineView(activity!!, this, shineParams)
rootView.addView(shineView, ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT))
doShareAnim()
} else {