diff --git a/src-gui/src/renderer/components/navigation/NavigationHeader.tsx b/src-gui/src/renderer/components/navigation/NavigationHeader.tsx index 787ab85f..d73837c1 100644 --- a/src-gui/src/renderer/components/navigation/NavigationHeader.tsx +++ b/src-gui/src/renderer/components/navigation/NavigationHeader.tsx @@ -1,5 +1,4 @@ import { Box, List, Badge } from "@mui/material"; -import AccountBalanceWalletIcon from "@mui/icons-material/AccountBalanceWallet"; import HistoryOutlinedIcon from "@mui/icons-material/HistoryOutlined"; import SwapHorizOutlinedIcon from "@mui/icons-material/SwapHorizOutlined"; import FeedbackOutlinedIcon from "@mui/icons-material/FeedbackOutlined"; @@ -7,13 +6,10 @@ import RouteListItemIconButton from "./RouteListItemIconButton"; import UnfinishedSwapsBadge from "./UnfinishedSwapsCountBadge"; import { useIsSwapRunning, useTotalUnreadMessagesCount } from "store/hooks"; import SettingsIcon from "@mui/icons-material/Settings"; -import AttachMoneyIcon from "@mui/icons-material/AttachMoney"; import BitcoinIcon from "../icons/BitcoinIcon"; import MoneroIcon from "../icons/MoneroIcon"; export default function NavigationHeader() { - const isSwapRunning = useIsSwapRunning(); - return ( diff --git a/src-tauri/src/commands.rs b/src-tauri/src/commands.rs index d7be8149..a4529d01 100644 --- a/src-tauri/src/commands.rs +++ b/src-tauri/src/commands.rs @@ -41,6 +41,7 @@ macro_rules! generate_command_handlers { get_monero_addresses, get_swap_info, get_swap_infos_all, + get_swap_timelock, withdraw_btc, buy_xmr, resume_swap, @@ -450,6 +451,7 @@ tauri_command!(get_wallet_descriptor, ExportBitcoinWalletArgs, no_args); tauri_command!(suspend_current_swap, SuspendCurrentSwapArgs, no_args); tauri_command!(get_swap_info, GetSwapInfoArgs); tauri_command!(get_swap_infos_all, GetSwapInfosAllArgs, no_args); +tauri_command!(get_swap_timelock, GetSwapTimelockArgs); tauri_command!(get_history, GetHistoryArgs, no_args); tauri_command!(get_monero_addresses, GetMoneroAddressesArgs, no_args); tauri_command!(get_monero_history, GetMoneroHistoryArgs, no_args);