Commit 8fc395ab26
Unsigned
Layout: unified · split
internal/curd.go +8 −9
| @@ -677,14 +677,11 @@ func SetupCurd(userCurdConfig *CurdConfig, anime *Anime, user *User, databaseAni | |||
| 677 | } else { | 677 | } else { |
| 678 | // Create category selection map | 678 | // Create category selection map |
| 679 | categories := map[string]string{ | 679 | categories := map[string]string{ |
| 680 | "ALL": "Show All", | 680 | "CURRENT": "Currently Watching", |
| 681 | "CURRENT": "Currently Watching", | 681 | "ALL": "Show All", |
| 682 | "PAUSED": "On Hold", | 682 | "UNTRACKED": "Untracked Watching", |
| 683 | "PLANNING": "Plan to Watch", | 683 | "UPDATE": "Update (Episode, Status, Score)", |
| 684 | "COMPLETED": "Completed", | 684 | "CONTINUE_LAST": "Continue Last Session", |
| 685 | "DROPPED": "Dropped", | ||
| 686 | "UPDATE": "Update Anime Entry", | ||
| 687 | "UNTRACKED": "Untracked Watching", | ||
| 688 | } | 685 | } |
| 689 | 686 | ||
| 690 | // Select category using DynamicSelect | 687 | // Select category using DynamicSelect |
| @@ -699,7 +696,7 @@ func SetupCurd(userCurdConfig *CurdConfig, anime *Anime, user *User, databaseAni | |||
| 699 | ExitCurd(nil) | 696 | ExitCurd(nil) |
| 700 | } | 697 | } |
| 701 | 698 | ||
| 702 | // Handle UPDATE option | 699 | // Handle options |
| 703 | if categorySelection.Key == "UPDATE" { | 700 | if categorySelection.Key == "UPDATE" { |
| 704 | ClearScreen() | 701 | ClearScreen() |
| 705 | UpdateAnimeEntry(userCurdConfig, user) | 702 | UpdateAnimeEntry(userCurdConfig, user) |
| @@ -707,6 +704,8 @@ func SetupCurd(userCurdConfig *CurdConfig, anime *Anime, user *User, databaseAni | |||
| 707 | } else if categorySelection.Key == "UNTRACKED" { | 704 | } else if categorySelection.Key == "UNTRACKED" { |
| 708 | ClearScreen() | 705 | ClearScreen() |
| 709 | WatchUntracked(userCurdConfig) | 706 | WatchUntracked(userCurdConfig) |
| 707 | } else if categorySelection.Key == "CONTINUE_LAST" { | ||
| 708 | anime.Ep.ContinueLast = true | ||
| 710 | } | 709 | } |
| 711 | 710 | ||
| 712 | ClearScreen() | 711 | ClearScreen() |