tweak(phone/call-modal): Tweaked appearance of call modal (#178)

Correct actions will now display if calling another player.

Also added ringing flavor text when the person calling is the transmitter.
This commit is contained in:
Taso authored and GitHub committed 2021-04-03 18:02:47 -04:00
1 parent 4bf3248168
commit 8ca8b1b5fe
15 files changed
+248 -136

No files matched your search

+2 -2
View File
@@ -23,7 +23,7 @@ const useStyles = makeStyles(() => ({
export const AppContent = ({
children,
style,
paperStyle,
backdrop,
onClickBackdrop,
...props
@@ -38,7 +38,7 @@ export const AppContent = ({
>
<Backdrop className={classes.backdrop} open={backdrop || false} onClick={onClickBackdrop} />
<Box flexGrow={1} className={classes.box} {...props}>
<Paper square elevation={0} className={classes.paper}>
<Paper square elevation={0} className={classes.paper} style={paperStyle}>
{children}
</Paper>
</Box>
+1 -1
View File
@@ -2,7 +2,7 @@ import { CSSProperties } from 'react';
export interface AppContentTypes {
children?: JSX.Element | JSX.Element[];
style?: CSSProperties;
paperStyle?: CSSProperties;
backdrop?: boolean;
onClickBackdrop?: (...args: any[]) => void;
}