Remove unused ApplicationContext fetch
This commit is contained in:
parent
63d222667a
commit
85bf2073f1
|
@ -71,7 +71,6 @@ public class ClipboardModule extends ReactContextBaseJavaModule {
|
|||
@SuppressLint("DeprecatedMethod")
|
||||
@ReactMethod
|
||||
public void setString(String text) {
|
||||
ReactApplicationContext reactContext = getReactApplicationContext();
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
|
||||
ClipData clipdata = ClipData.newPlainText(null, text);
|
||||
ClipboardManager clipboard = getClipboardService();
|
||||
|
|
Loading…
Reference in New Issue