File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
android/src/oldarch/java/com/retyui/widgetpicker Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11package com.retyui.widgetpicker
22
3+ import android.os.Build
4+ import androidx.annotation.RequiresApi
5+ import com.facebook.react.bridge.Promise
36import com.facebook.react.bridge.ReactApplicationContext
47import com.facebook.react.bridge.ReactContextBaseJavaModule
58import com.facebook.react.bridge.ReactMethod
@@ -17,11 +20,11 @@ class WidgetPickerModule(
1720 override fun getName () = NAME
1821
1922 @ReactMethod(isBlockingSynchronousMethod = true )
20- override fun isRequestPinAppWidgetSupported () = moduleImpl.isRequestPinAppWidgetSupported()
23+ fun isRequestPinAppWidgetSupported () = moduleImpl.isRequestPinAppWidgetSupported()
2124
2225 @ReactMethod
2326 @RequiresApi(Build .VERSION_CODES .O )
24- override fun requestPinAppWidget (widgetClassKey : String , promise : Promise ) = moduleImpl.requestPinAppWidget(widgetClassKey, promise)
27+ fun requestPinAppWidget (widgetClassKey : String , promise : Promise ) = moduleImpl.requestPinAppWidget(widgetClassKey, promise)
2528
2629 companion object {
2730 const val NAME = WidgetPickerModuleImpl .NAME
You can’t perform that action at this time.
0 commit comments