mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
add keyboard shortcuts for reader settings
This commit is contained in:
parent
f4706205b0
commit
5a76bebaae
1 changed files with 6 additions and 1 deletions
|
|
@ -22,6 +22,7 @@ import Views
|
|||
},
|
||||
label: { Text("Increase Reader Font Size") }
|
||||
)
|
||||
.keyboardShortcut("+")
|
||||
|
||||
Button(
|
||||
action: {
|
||||
|
|
@ -31,6 +32,7 @@ import Views
|
|||
label: { Text("Decrease Reader Font Size")
|
||||
}
|
||||
)
|
||||
.keyboardShortcut("-")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -44,6 +46,7 @@ import Views
|
|||
label: { Text("Increase Reader Margin")
|
||||
}
|
||||
)
|
||||
.keyboardShortcut("]")
|
||||
|
||||
Button(
|
||||
action: {
|
||||
|
|
@ -53,6 +56,7 @@ import Views
|
|||
label: { Text("Decrease Reader Margin")
|
||||
}
|
||||
)
|
||||
.keyboardShortcut("[")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -65,6 +69,7 @@ import Views
|
|||
},
|
||||
label: { Text("Increase Reader Line Spacing") }
|
||||
)
|
||||
.keyboardShortcut("l")
|
||||
|
||||
Button(
|
||||
action: {
|
||||
|
|
@ -73,7 +78,7 @@ import Views
|
|||
},
|
||||
label: { Text("Decrease Reader Line Spacing") }
|
||||
)
|
||||
// .keyboardShortcut("l")
|
||||
.keyboardShortcut("k")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue