Change hotkey for 1Y change to "y"

pull/147/head
Simon Roberts 3 years ago
parent 7f2f4c551c
commit 79b2fb8ea6

@ -0,0 +1,25 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Holdings",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "cmd/cointop/cointop.go",
"args": ["holdings"],
"env": {"DEBUG": "yes"}
},
{
"name": "Portfolio",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "cmd/cointop/cointop.go",
"env": {"DEBUG": "yes"}
}
]
}

@ -39,7 +39,6 @@ func DefaultShortcuts() map[string]string {
"1": "sort_column_1h_change",
"2": "sort_column_24h_change",
"3": "sort_column_30d_change",
"6": "sort_column_1y_change",
"7": "sort_column_7d_change",
"a": "sort_column_available_supply",
"b": "sort_column_balance",
@ -70,6 +69,7 @@ func DefaultShortcuts() map[string]string {
"t": "sort_column_total_supply",
"u": "sort_column_last_updated",
"v": "sort_column_24h_volume",
"y": "sort_column_1y_change",
"q": "quit_view",
"Q": "quit_view",
"%": "sort_column_percent_holdings",

@ -97,7 +97,7 @@ var HeaderColumns = map[string]*HeaderColumn{
},
"1y_change": &HeaderColumn{
Slug: "1y_change",
Label: "3[6]5D%",
Label: "1[y]%",
PlainLabel: "1Y%",
},
"total_supply": &HeaderColumn{

Loading…
Cancel
Save