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/score.go | |
parent | fb7324295cf3f32c530135a0456f0afd14324d29 (diff) |
added score option to action menu
Diffstat (limited to 'cmd/score.go')
-rw-r--r-- | cmd/score.go | 4 |
1 files changed, 2 insertions, 2 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 { |