Skip to content

Commit

Permalink
fix: Add missing requestConnectionStatus bridge method mock
Browse files Browse the repository at this point in the history
The Demo editor fails to build without a mocked bridge method.
  • Loading branch information
dcalhoun committed Dec 7, 2023
1 parent 4fed85e commit aadf8c6
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,11 @@ public void toggleRedoButton(boolean isDisabled) {
mainActivity.updateRedoItem(isDisabled);
}
}

@Override
public void requestConnectionStatus(ConnectionStatusCallback connectionStatusCallback) {
connectionStatusCallback.onRequestConnectionStatus(true);
}
}, isDarkMode());

return new DefaultReactNativeHost(this) {
Expand Down

0 comments on commit aadf8c6

Please sign in to comment.