Commit 8fc395ab26

8fc395ab2681f3cc13ef0ef17162e78ae05198ad

parent: 205f50f0a9

Unsigned

Wraient <wraient.911@gmail.com> · 2025-02-22 19:30 UTC

Update: UI UPDATE

- Continue last session with rofi
- Remove bloated options

Layout: unified · split

internal/curd.go +8 −9
@@ -677,14 +677,11 @@ func SetupCurd(userCurdConfig *CurdConfig, anime *Anime, user *User, databaseAni
677677 } else {
678678 // Create category selection map
679679 categories := map[string]string{
680 "ALL": "Show All",
681 "CURRENT": "Currently Watching",
682 "PAUSED": "On Hold",
683 "PLANNING": "Plan to Watch",
684 "COMPLETED": "Completed",
685 "DROPPED": "Dropped",
686 "UPDATE": "Update Anime Entry",
687 "UNTRACKED": "Untracked Watching",
680 "CURRENT": "Currently Watching",
681 "ALL": "Show All",
682 "UNTRACKED": "Untracked Watching",
683 "UPDATE": "Update (Episode, Status, Score)",
684 "CONTINUE_LAST": "Continue Last Session",
688685 }
689686
690687 // Select category using DynamicSelect
@@ -699,7 +696,7 @@ func SetupCurd(userCurdConfig *CurdConfig, anime *Anime, user *User, databaseAni
699696 ExitCurd(nil)
700697 }
701698
702 // Handle UPDATE option
699 // Handle options
703700 if categorySelection.Key == "UPDATE" {
704701 ClearScreen()
705702 UpdateAnimeEntry(userCurdConfig, user)
@@ -707,6 +704,8 @@ func SetupCurd(userCurdConfig *CurdConfig, anime *Anime, user *User, databaseAni
707704 } else if categorySelection.Key == "UNTRACKED" {
708705 ClearScreen()
709706 WatchUntracked(userCurdConfig)
707 } else if categorySelection.Key == "CONTINUE_LAST" {
708 anime.Ep.ContinueLast = true
710709 }
711710
712711 ClearScreen()