Skip to content

Commit

Permalink
Ask viewmode to dry
Browse files Browse the repository at this point in the history
  • Loading branch information
moncho committed Feb 27, 2016
1 parent 07b604e commit e23ff4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func Render(d *Dry, screen *ui.Screen, statusBar *ui.StatusBar) {
var keymap string
statusBar.Render()
screen.RenderLine(0, 0, `<right><white>`+time.Now().Format(`15:04:05`)+`</></right>`)
switch d.state.viewMode {
switch d.viewMode() {
case Main:
{
//after a refresh, sorting is needed
Expand Down

0 comments on commit e23ff4f

Please sign in to comment.