We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e88c24 commit 98df5d9Copy full SHA for 98df5d9
1 file changed
plugin/movies/main.go
@@ -171,7 +171,7 @@ func getMovieList(mode string) (movieList []movieInfo, err error) {
171
return
172
}
173
if mode != "今日电影" {
174
- movieList[i].ComingTitle = movieInfo.MovieInfo.ComingTitle
+ movieInfo.MovieInfo.ComingTitle = movieList[i].ComingTitle
175
176
movieList[i] = movieInfo.MovieInfo
177
@@ -182,9 +182,8 @@ func getMovieList(mode string) (movieList []movieInfo, err error) {
182
183
if mode == "今日电影" {
184
return movieList[i].Watched > movieList[j].Watched
185
- } else {
186
- return movieList[i].Wish > movieList[j].Wish
187
+ return movieList[i].Wish > movieList[j].Wish
188
})
189
return movieList, nil
190
0 commit comments