Skip to content

Commit

Permalink
fix: fixed indentations
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijeetverma authored and harshgarg18 committed Jun 10, 2024
1 parent c42becd commit f596de1
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,19 +279,19 @@ public View getMerchantView(ViewGroup viewGroup, MerchantViewType merchantViewTy
ReactRootView reactRootView = new ReactRootView(activity);
switch (merchantViewType) {
case HEADER:
if(isViewRegistered(MerchantViewConstants.JUSPAY_HEADER))
if (isViewRegistered(MerchantViewConstants.JUSPAY_HEADER))
reactRootView.startReactApplication(reactInstanceManager, MerchantViewConstants.JUSPAY_HEADER);
break;
case FOOTER:
if(isViewRegistered(MerchantViewConstants.JUSPAY_FOOTER))
if (isViewRegistered(MerchantViewConstants.JUSPAY_FOOTER))
reactRootView.startReactApplication(reactInstanceManager, MerchantViewConstants.JUSPAY_FOOTER);
break;
case FOOTER_ATTACHED:
if(isViewRegistered(MerchantViewConstants.JUSPAY_FOOTER_ATTACHED))
if (isViewRegistered(MerchantViewConstants.JUSPAY_FOOTER_ATTACHED))
reactRootView.startReactApplication(reactInstanceManager, MerchantViewConstants.JUSPAY_FOOTER_ATTACHED);
break;
case HEADER_ATTACHED:
if(isViewRegistered(MerchantViewConstants.JUSPAY_HEADER_ATTACHED))
if (isViewRegistered(MerchantViewConstants.JUSPAY_HEADER_ATTACHED))
reactRootView.startReactApplication(reactInstanceManager, MerchantViewConstants.JUSPAY_HEADER_ATTACHED);
break;
}
Expand All @@ -307,7 +307,7 @@ public View getMerchantView(ViewGroup viewGroup, MerchantViewType merchantViewTy

private boolean isViewRegistered(String tag) {
return registeredComponents.contains(tag);
}
}

private void sendEventToJS(JSONObject data) {
DeviceEventManagerModule.RCTDeviceEventEmitter jsModule = getJSModule();
Expand Down Expand Up @@ -483,8 +483,8 @@ public void terminate() {

@ReactMethod
public void notifyAboutRegisterComponent(String tag) {
registeredComponents.add(tag);
}
registeredComponents.add(tag);
}

@ReactMethod(isBlockingSynchronousMethod = true)
public boolean isNull() {
Expand Down

0 comments on commit f596de1

Please sign in to comment.