Incremented version

This commit is contained in:
Sayed Owais Ali
2023-09-27 20:28:45 +05:30
parent 511acefd1e
commit a8cfc86181
2 changed files with 12 additions and 14 deletions

View File

@@ -319,7 +319,7 @@ dependencies {
implementation "com.github.anrwatchdog:anrwatchdog:1.4.0"
implementation 'com.navi.medici:alfred:navi_v1.0.0-20230921.100900-52'
implementation 'com.navi.medici:alfred:v1.0.1'
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+" // From node_modules

View File

@@ -7,20 +7,18 @@ import { sendBottomSheetOpenSignal } from '../components/utlis/DeviceUtils';
const FullScreenLoaderWrapper: React.FC<IFullScreenLoader> = (props) => {
const { loading, onShow, isTranslucent = true } = props;
// removing for now will add it later when needed
useEffect(() => {
if (loading) sendBottomSheetOpenSignal(true);
if (!loading) sendBottomSheetOpenSignal(false);
return () => {
sendBottomSheetOpenSignal(false);
};
}, [loading]);
// useEffect(() => {
// if (loading) sendBottomSheetOpenSignal(true);
// if (!loading) sendBottomSheetOpenSignal(false);
// return () => {
// sendBottomSheetOpenSignal(false);
// };
// }, [loading]);
// const onShowHandler = () => {
// sendBottomSheetOpenSignal(true);
// if (typeof onShow === 'function') onShow();
// };
const onShowHandler = () => {
sendBottomSheetOpenSignal(true);
if (typeof onShow === 'function') onShow();
};
return <FullScreenLoader onShow={onShow} loading={loading} isTranslucent={isTranslucent} />;
};