Skip to content

Commit

Permalink
fixup! feat(suite-native): better txn names according to desktop logic
Browse files Browse the repository at this point in the history
  • Loading branch information
vytick committed Nov 7, 2024
1 parent 11cbb6b commit f0ad746
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions suite-native/transactions/src/components/TransactionName.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
import { WalletAccountTransaction } from '@suite-common/wallet-types';
import { isSupportedEthStakingNetworkSymbol } from '@suite-common/wallet-utils';
import { Translation, TxKeyPath } from '@suite-native/intl';
import { AccountTransaction } from '@trezor/connect';

type TransactionNameProps = {
transaction: WalletAccountTransaction;
isPending: boolean;
};

interface GetSelfTransactionMessageByTypeProps {
type?: Required<AccountTransaction>['cardanoSpecific']['subtype'];
type?: Required<WalletAccountTransaction>['cardanoSpecific']['subtype'];
}

const getSelfTransactionMessageByType = ({
Expand Down

0 comments on commit f0ad746

Please sign in to comment.