fix(tauri): add missing get_swap_timelock command

This commit is contained in:
Binarybaron 2025-12-01 21:05:58 +01:00
parent 2b1c395660
commit 9b527f7b7c
2 changed files with 2 additions and 4 deletions

View file

@ -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>

View file

@ -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);