mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-12-17 17:44:02 -05:00
fix(tauri): add missing get_swap_timelock command
This commit is contained in:
parent
2b1c395660
commit
9b527f7b7c
2 changed files with 2 additions and 4 deletions
|
|
@ -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 (
|
||||
<Box>
|
||||
<List>
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue