mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-07 09:15:21 -04:00
wip: WithdrawDialog migrated to Tauri IPC
This commit is contained in:
parent
47821cbe79
commit
3d16ff6d5c
118 changed files with 1779 additions and 1868 deletions
|
@ -1,6 +1,6 @@
|
|||
import { Drawer, makeStyles, Box } from '@material-ui/core';
|
||||
import NavigationHeader from './NavigationHeader';
|
||||
import NavigationFooter from './NavigationFooter';
|
||||
import { Drawer, makeStyles, Box } from "@material-ui/core";
|
||||
import NavigationHeader from "./NavigationHeader";
|
||||
import NavigationFooter from "./NavigationFooter";
|
||||
|
||||
export const drawerWidth = 240;
|
||||
|
||||
|
@ -13,11 +13,11 @@ const useStyles = makeStyles({
|
|||
width: drawerWidth,
|
||||
},
|
||||
drawerContainer: {
|
||||
overflow: 'auto',
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
justifyContent: 'space-between',
|
||||
height: '100%',
|
||||
overflow: "auto",
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
justifyContent: "space-between",
|
||||
height: "100%",
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
@ -1,24 +1,24 @@
|
|||
import RedditIcon from '@material-ui/icons/Reddit';
|
||||
import GitHubIcon from '@material-ui/icons/GitHub';
|
||||
import { Box, makeStyles } from '@material-ui/core';
|
||||
import LinkIconButton from '../icons/LinkIconButton';
|
||||
import UnfinishedSwapsAlert from '../alert/UnfinishedSwapsAlert';
|
||||
import FundsLeftInWalletAlert from '../alert/FundsLeftInWalletAlert';
|
||||
import RpcStatusAlert from '../alert/RpcStatusAlert';
|
||||
import DiscordIcon from '../icons/DiscordIcon';
|
||||
import { DISCORD_URL } from '../pages/help/ContactInfoBox';
|
||||
import MoneroWalletRpcUpdatingAlert from '../alert/MoneroWalletRpcUpdatingAlert';
|
||||
import RedditIcon from "@material-ui/icons/Reddit";
|
||||
import GitHubIcon from "@material-ui/icons/GitHub";
|
||||
import { Box, makeStyles } from "@material-ui/core";
|
||||
import LinkIconButton from "../icons/LinkIconButton";
|
||||
import UnfinishedSwapsAlert from "../alert/UnfinishedSwapsAlert";
|
||||
import FundsLeftInWalletAlert from "../alert/FundsLeftInWalletAlert";
|
||||
import RpcStatusAlert from "../alert/RpcStatusAlert";
|
||||
import DiscordIcon from "../icons/DiscordIcon";
|
||||
import { DISCORD_URL } from "../pages/help/ContactInfoBox";
|
||||
import MoneroWalletRpcUpdatingAlert from "../alert/MoneroWalletRpcUpdatingAlert";
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
outer: {
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
padding: theme.spacing(1),
|
||||
gap: theme.spacing(1),
|
||||
},
|
||||
linksOuter: {
|
||||
display: 'flex',
|
||||
justifyContent: 'space-evenly',
|
||||
display: "flex",
|
||||
justifyContent: "space-evenly",
|
||||
},
|
||||
}));
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import { Box, List } from '@material-ui/core';
|
||||
import SwapHorizOutlinedIcon from '@material-ui/icons/SwapHorizOutlined';
|
||||
import HistoryOutlinedIcon from '@material-ui/icons/HistoryOutlined';
|
||||
import AccountBalanceWalletIcon from '@material-ui/icons/AccountBalanceWallet';
|
||||
import HelpOutlineIcon from '@material-ui/icons/HelpOutline';
|
||||
import RouteListItemIconButton from './RouteListItemIconButton';
|
||||
import UnfinishedSwapsBadge from './UnfinishedSwapsCountBadge';
|
||||
import { Box, List } from "@material-ui/core";
|
||||
import SwapHorizOutlinedIcon from "@material-ui/icons/SwapHorizOutlined";
|
||||
import HistoryOutlinedIcon from "@material-ui/icons/HistoryOutlined";
|
||||
import AccountBalanceWalletIcon from "@material-ui/icons/AccountBalanceWallet";
|
||||
import HelpOutlineIcon from "@material-ui/icons/HelpOutline";
|
||||
import RouteListItemIconButton from "./RouteListItemIconButton";
|
||||
import UnfinishedSwapsBadge from "./UnfinishedSwapsCountBadge";
|
||||
|
||||
export default function NavigationHeader() {
|
||||
return (
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { ReactNode } from 'react';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { ListItem, ListItemIcon, ListItemText } from '@material-ui/core';
|
||||
import { ReactNode } from "react";
|
||||
import { useNavigate } from "react-router-dom";
|
||||
import { ListItem, ListItemIcon, ListItemText } from "@material-ui/core";
|
||||
|
||||
export default function RouteListItemIconButton({
|
||||
name,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Badge } from '@material-ui/core';
|
||||
import { useResumeableSwapsCount } from 'store/hooks';
|
||||
import { Badge } from "@material-ui/core";
|
||||
import { useResumeableSwapsCount } from "store/hooks";
|
||||
|
||||
export default function UnfinishedSwapsBadge({
|
||||
children,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue