mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-13 19:16:52 +01:00
Update CommonToolTipActions.ts
This commit is contained in:
parent
4b37eaba98
commit
254550d92e
1 changed files with 7 additions and 0 deletions
|
@ -51,6 +51,7 @@ const keys = {
|
||||||
SortLabel: 'sortLabel',
|
SortLabel: 'sortLabel',
|
||||||
SortStatus: 'sortStatus',
|
SortStatus: 'sortStatus',
|
||||||
Delete: 'delete',
|
Delete: 'delete',
|
||||||
|
Details: 'details',
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
const icons = {
|
const icons = {
|
||||||
|
@ -94,6 +95,7 @@ const icons = {
|
||||||
SortDESC: { iconValue: Platform.OS === 'ios' ? 'arrow.up.to.line' : 'ic_menu_sort_by_size' },
|
SortDESC: { iconValue: Platform.OS === 'ios' ? 'arrow.up.to.line' : 'ic_menu_sort_by_size' },
|
||||||
SaveFile: { iconValue: Platform.OS === 'ios' ? 'square.and.arrow.down' : 'ic_menu_save' },
|
SaveFile: { iconValue: Platform.OS === 'ios' ? 'square.and.arrow.down' : 'ic_menu_save' },
|
||||||
Delete: { iconValue: Platform.OS === 'ios' ? 'trash' : 'ic_menu_delete' },
|
Delete: { iconValue: Platform.OS === 'ios' ? 'trash' : 'ic_menu_delete' },
|
||||||
|
Details: { iconValue: Platform.OS === 'ios' ? 'info.circle' : 'ic_menu_info_details' },
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
export type ToolTipAction = {
|
export type ToolTipAction = {
|
||||||
|
@ -371,4 +373,9 @@ export const CommonToolTipActions: Record<string, ToolTipAction> = {
|
||||||
icon: icons.Delete,
|
icon: icons.Delete,
|
||||||
destructive: true,
|
destructive: true,
|
||||||
},
|
},
|
||||||
|
Details: {
|
||||||
|
id: keys.Details,
|
||||||
|
text: loc.send.create_details,
|
||||||
|
icon: icons.Details,
|
||||||
|
},
|
||||||
} as const;
|
} as const;
|
||||||
|
|
Loading…
Add table
Reference in a new issue