Fix Staticcheck errors & minor logic simplification (#967)
Simplify logic in ui.go. In that diff, `st` would already have the Reversed flag set; there's no need to set it again. Also, minor changes to remove all the statickcheck errors VS code's Go extension complains about.
This commit is contained in:
1 parent
e570d5f65b
commit
f1312ca969
3 files changed
+17
-21