mirror of
https://github.com/status-im/react-native.git
synced 2025-01-28 18:25:06 +00:00
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…
x
Reference in New Issue
Block a user