Skip to content

Commit

Permalink
Changed loadCurrentHistory to exported method.
Browse files Browse the repository at this point in the history
  • Loading branch information
destinmoulton committed Oct 9, 2018
1 parent ed85559 commit 4e72724
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gui/history/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var tableWidget *tview.Table

// StartHistory initializes the history viewer
func StartHistory() {
loadCurrentHistory()
LoadCurrentHistory()
renderHistory()
}

Expand Down Expand Up @@ -53,7 +53,8 @@ func renderHistory() {
redrawParent()
}

func loadCurrentHistory() {
// LoadCurrentHistory gets the played settings
func LoadCurrentHistory() {
opened := settings.Get(settings.SetHistory, "opened")

if opened != nil {
Expand Down

0 comments on commit 4e72724

Please sign in to comment.