diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-07-02 17:04:29 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-07-02 17:04:29 +0530 |
commit | 7e512b17f64b85390e189754081fb9a7994cd083 (patch) | |
tree | f3643990e456701ddb96d73a5c446eb2bfcf7141 /cmd | |
parent | fb7324295cf3f32c530135a0456f0afd14324d29 (diff) |
added score option to action menu
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/score.go | 4 | ||||
-rw-r--r-- | cmd/version.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cmd/score.go b/cmd/score.go index 27106e5..33c02c3 100644 --- a/cmd/score.go +++ b/cmd/score.go @@ -97,7 +97,7 @@ func setAnimeScore(scoreInput, searchInput string) { } if scoreInput == "" { - ui.ScoreInput(anime.Id, selectedAnime.MyListStatus.Score, anime.Title, false) + ui.AnimeScoreInput(selectedAnime) } else { score, err := validateScore(scoreInput, selectedAnime.MyListStatus.Score) if err != nil { @@ -130,7 +130,7 @@ func setMangaScore(scoreInput, searchInput string) { } if scoreInput == "" { - ui.ScoreInput(manga.Id, selectedManga.MyListStatus.Score, manga.Title, true) + ui.MangaScoreInput(selectedManga) } else { score, err := validateScore(scoreInput, selectedManga.MyListStatus.Score) if err != nil { diff --git a/cmd/version.go b/cmd/version.go index 174b7e3..c89866b 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -24,7 +24,7 @@ import ( "github.com/spf13/cobra" ) -var version string = "v1.5.3" +var version string = "v1.5.4" var versionCmd = &cobra.Command { Use: "version", |