mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-22 19:33:27 +01:00
Remove other fields
This commit is contained in:
parent
94b0e6f690
commit
2e92be0f23
1 changed files with 13 additions and 27 deletions
|
@ -158,15 +158,12 @@ const Sender = (props) => {
|
|||
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/>
|
||||
</IconButton>
|
||||
<IconButton color="inherit" size="large" edge="start">
|
||||
<InsertEmoticonIcon/>
|
||||
</IconButton>
|
||||
<IconButton color="inherit" size="large" edge="start" onClick={(ev) => setPriorityAnchorEl(ev.currentTarget)}>
|
||||
</IconButton>}
|
||||
{false && <IconButton color="inherit" size="large" edge="start" onClick={(ev) => setPriorityAnchorEl(ev.currentTarget)}>
|
||||
<img src={priorityFiles[priority]}/>
|
||||
</IconButton>
|
||||
</IconButton>}
|
||||
<Menu
|
||||
anchorEl={priorityAnchorEl}
|
||||
open={priorityMenuOpen}
|
||||
|
@ -177,26 +174,15 @@ const Sender = (props) => {
|
|||
<ListItemText>Priority {p}</ListItemText>
|
||||
</MenuItem>)}
|
||||
</Menu>
|
||||
<div style={{display: "flex", flexDirection: "column", width: "100%"}}>
|
||||
<TextField
|
||||
autoFocus
|
||||
margin="dense"
|
||||
placeholder="Message"
|
||||
type="text"
|
||||
fullWidth
|
||||
variant="standard"
|
||||
multiline
|
||||
/>
|
||||
<div style={{display: "flex", width: "100%"}}>
|
||||
<TextField
|
||||
margin="dense"
|
||||
placeholder="Title"
|
||||
type="text"
|
||||
fullWidth
|
||||
variant="standard"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<TextField
|
||||
autoFocus
|
||||
margin="dense"
|
||||
placeholder="Message"
|
||||
type="text"
|
||||
fullWidth
|
||||
variant="standard"
|
||||
multiline
|
||||
/>
|
||||
<IconButton color="inherit" size="large" edge="end">
|
||||
<SendIcon/>
|
||||
</IconButton>
|
||||
|
|
Loading…
Reference in a new issue