Skip to content

Commit 95b0af0

Browse files
authored
Return empty list instead of null from getViewManagerNames (#284)
1 parent 88915f5 commit 95b0af0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/reactnativecommunity/clipboard/ClipboardPackage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class ClipboardPackage extends TurboReactPackage implements ViewManagerOn
3131
/** {@inheritDoc} */
3232
@Override
3333
public List<String> getViewManagerNames(ReactApplicationContext reactContext) {
34-
return null;
34+
return Collections.emptyList();
3535
}
3636

3737
@Override

0 commit comments

Comments
 (0)