Incremented version
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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} />;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user