mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
add donate
This commit is contained in:
@@ -114,6 +114,7 @@ export default function MiniDrawer() {
|
|||||||
|
|
||||||
<List>
|
<List>
|
||||||
<SettingsDialog />
|
<SettingsDialog />
|
||||||
|
<DonateDialog />
|
||||||
<AboutDialog />
|
<AboutDialog />
|
||||||
<ListItem button key="Close server" onClick={() => fetch(shutdownHost())}>
|
<ListItem button key="Close server" onClick={() => fetch(shutdownHost())}>
|
||||||
<ListItemIcon>
|
<ListItemIcon>
|
||||||
|
|||||||
@@ -21,9 +21,9 @@ export default function DonateDialog() {
|
|||||||
const [snakeOpen, setSnakeOpen] = React.useState(true)
|
const [snakeOpen, setSnakeOpen] = React.useState(true)
|
||||||
|
|
||||||
// NOT USED FOR NOW
|
// NOT USED FOR NOW
|
||||||
// const handleClickOpen = () => {
|
const handleClickOpen = () => {
|
||||||
// setOpen(true)
|
setOpen(true)
|
||||||
// }
|
}
|
||||||
const handleClose = () => {
|
const handleClose = () => {
|
||||||
setOpen(false)
|
setOpen(false)
|
||||||
}
|
}
|
||||||
@@ -31,12 +31,12 @@ export default function DonateDialog() {
|
|||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
{/* !!!!!!!!!!! Should be removed or moved to sidebar because it is not visible. It is hiddent behind header */}
|
{/* !!!!!!!!!!! Should be removed or moved to sidebar because it is not visible. It is hiddent behind header */}
|
||||||
{/* <ListItem button key="Donate" onClick={handleClickOpen}>
|
<ListItem button key="Donate" onClick={handleClickOpen}>
|
||||||
<ListItemIcon>
|
<ListItemIcon>
|
||||||
<CreditCardIcon />
|
<CreditCardIcon />
|
||||||
</ListItemIcon>
|
</ListItemIcon>
|
||||||
<ListItemText primary="Donate" />
|
<ListItemText primary="Donate" />
|
||||||
</ListItem> */}
|
</ListItem>
|
||||||
{/* !!!!!!!!!!!!!!!!!!!! */}
|
{/* !!!!!!!!!!!!!!!!!!!! */}
|
||||||
|
|
||||||
<Dialog open={open} onClose={handleClose} aria-labelledby="form-dialog-title" fullWidth>
|
<Dialog open={open} onClose={handleClose} aria-labelledby="form-dialog-title" fullWidth>
|
||||||
|
|||||||
Reference in New Issue
Block a user