Skip to content

Commit

Permalink
[*] improve ui
Browse files Browse the repository at this point in the history
  • Loading branch information
heng30 committed Jul 15, 2024
1 parent 694a09b commit 6f468f7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
24 changes: 12 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/logic/tokens.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ async fn _send_spl_token(
prioritization_fee,
};

transaction::send_spl_token(send_spl_token_props).await?
transaction::send_spl_token(send_spl_token_props, true).await?
} else {
let send_spl_token_props = transaction::SendSplTokenWithCreateProps {
rpc_url_ty: rpc_url_ty.clone(),
Expand All @@ -1101,7 +1101,7 @@ async fn _send_spl_token(
prioritization_fee,
};

transaction::send_spl_token_with_create(send_spl_token_props).await?
transaction::send_spl_token_with_create(send_spl_token_props, true).await?
};

let hash = signature.to_string();
Expand Down
2 changes: 1 addition & 1 deletion src/version.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pub static VERSION: &str = "v0.1.0";
pub static VERSION: &str = "v0.1.1";
4 changes: 2 additions & 2 deletions ui/panel/bodyer/home.slint
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,9 @@ export component Home inherits Rectangle {
recipient-address: TokensSetting.sender.recipient-address;
send-amount: TokensSetting.sender.send-amount;
send-amount-usdt: root.selected-entry.symbol == "SOL" ? "$" + Logic.calculate-price-of-sol(TokensSetting.sender.send-amount) : "";
fee: TokensSetting.sender.transaction-fee + "SOL";
fee: TokensSetting.sender.transaction-fee + " SOL";
fee-usdt: "$" + Logic.calculate-price-of-sol(TokensSetting.sender.transaction-fee);
create-token-account-fee: TokensSetting.sender.create-token-account-fee != "" ? TokensSetting.sender.create-token-account-fee + "SOL" : "";
create-token-account-fee: TokensSetting.sender.create-token-account-fee != "" ? TokensSetting.sender.create-token-account-fee + " SOL" : "";
create-token-account-fee-usdt: "$" + Logic.calculate-price-of-sol(TokensSetting.sender.create-token-account-fee);

memo: TokensSetting.sender.props.memo;
Expand Down

0 comments on commit 6f468f7

Please sign in to comment.