Skip to content

Commit dacced9

Browse files
Update Root.tsx
1 parent 115593e commit dacced9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/containers/Root.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ export const Root: React.FunctionComponent<IProps> = ({ theme, colors, children,
2828
<SafeAreaProvider>
2929
<View style={styles.content}>
3030
<React.Fragment>
31+
{children}
3132
<Dialog ref={Dialog.instance} isDark={isDark} config={dialogConfig} />
3233
<Toast ref={Toast.instance} isDark={isDark} config={toastConfig} />
33-
{children}
3434
</React.Fragment>
3535
</View>
3636
</SafeAreaProvider>
@@ -40,9 +40,9 @@ export const Root: React.FunctionComponent<IProps> = ({ theme, colors, children,
4040
return (
4141
<View style={styles.content}>
4242
<React.Fragment>
43+
{children}
4344
<Dialog ref={Dialog.instance} isDark={isDark} config={dialogConfig} />
4445
<Toast ref={Toast.instance} isDark={isDark} config={toastConfig} />
45-
{children}
4646
</React.Fragment>
4747
</View>
4848
);

0 commit comments

Comments
 (0)