Remove other fields

pull/180/head
Philipp Heckel 2022-03-26 09:32:13 -04:00
parent 94b0e6f690
commit 2e92be0f23
1 changed files with 13 additions and 27 deletions

View File

@ -158,15 +158,12 @@ const Sender = (props) => {
backgroundColor: (theme) => theme.palette.mode === 'light' ? theme.palette.grey[100] : theme.palette.grey[900] backgroundColor: (theme) => theme.palette.mode === 'light' ? theme.palette.grey[100] : theme.palette.grey[900]
}} }}
> >
<IconButton color="inherit" size="large" edge="start"> {false && <IconButton color="inherit" size="large" edge="start">
<MoreVert/> <MoreVert/>
</IconButton> </IconButton>}
<IconButton color="inherit" size="large" edge="start"> {false && <IconButton color="inherit" size="large" edge="start" onClick={(ev) => setPriorityAnchorEl(ev.currentTarget)}>
<InsertEmoticonIcon/>
</IconButton>
<IconButton color="inherit" size="large" edge="start" onClick={(ev) => setPriorityAnchorEl(ev.currentTarget)}>
<img src={priorityFiles[priority]}/> <img src={priorityFiles[priority]}/>
</IconButton> </IconButton>}
<Menu <Menu
anchorEl={priorityAnchorEl} anchorEl={priorityAnchorEl}
open={priorityMenuOpen} open={priorityMenuOpen}
@ -177,7 +174,6 @@ const Sender = (props) => {
<ListItemText>Priority {p}</ListItemText> <ListItemText>Priority {p}</ListItemText>
</MenuItem>)} </MenuItem>)}
</Menu> </Menu>
<div style={{display: "flex", flexDirection: "column", width: "100%"}}>
<TextField <TextField
autoFocus autoFocus
margin="dense" margin="dense"
@ -187,16 +183,6 @@ const Sender = (props) => {
variant="standard" variant="standard"
multiline multiline
/> />
<div style={{display: "flex", width: "100%"}}>
<TextField
margin="dense"
placeholder="Title"
type="text"
fullWidth
variant="standard"
/>
</div>
</div>
<IconButton color="inherit" size="large" edge="end"> <IconButton color="inherit" size="large" edge="end">
<SendIcon/> <SendIcon/>
</IconButton> </IconButton>