From f596de19c33fd2ff2d001a00442d7304f84d6dd9 Mon Sep 17 00:00:00 2001 From: abhijeetverma Date: Mon, 10 Jun 2024 13:20:28 +0530 Subject: [PATCH] fix: fixed indentations --- .../juspay/hypersdkreact/HyperSdkReactModule.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/android/src/main/java/in/juspay/hypersdkreact/HyperSdkReactModule.java b/android/src/main/java/in/juspay/hypersdkreact/HyperSdkReactModule.java index a985cb4..d565ac1 100644 --- a/android/src/main/java/in/juspay/hypersdkreact/HyperSdkReactModule.java +++ b/android/src/main/java/in/juspay/hypersdkreact/HyperSdkReactModule.java @@ -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; } @@ -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(); @@ -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() {