From 7e512b17f64b85390e189754081fb9a7994cd083 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 2 Jul 2022 17:04:29 +0530 Subject: added score option to action menu --- cmd/score.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/score.go') 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 { -- cgit v1.2.3