Skip to content
This repository has been archived by the owner on Sep 12, 2021. It is now read-only.

Commit

Permalink
Fix a nasty little spelling error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacalz committed Jun 18, 2020
1 parent 69e6afd commit f1addb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/file/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func ReadData(key *[]byte, username string) (exercises Data, err error) {
return exercises, nil
}

// Write writes new exercieses to the data file.
// Write writes new exercises to the data file.
func (d *Data) Write(key *[]byte, username string) {
//Marchal the xml content in to a file variable.
file, err := json.Marshal(d)
Expand Down
4 changes: 2 additions & 2 deletions internal/gui/exercises.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func (u *user) exerciseDisplayer(label *widget.Label) {
// Handle an empty data file.
if len(u.data.Exercise) == 0 {
// Start by informing the user that no data is available.
label.SetText("No exercieses have been created yet.")
label.SetText("No exercises have been created yet.")
} else {
// Refresh the widget to show the updated text.
label.SetText(u.initialDisplay())
Expand All @@ -36,7 +36,7 @@ func (u *user) exerciseDisplayer(label *widget.Label) {
case <-u.reorderExercises:
label.SetText(u.initialDisplay())
case <-u.emptyExercises:
label.SetText("No exercieses have been created yet.")
label.SetText("No exercises have been created yet.")
}

}
Expand Down

0 comments on commit f1addb3

Please sign in to comment.