From fcb1848a9343d809bbc1236b90176c3935aa2591 Mon Sep 17 00:00:00 2001 From: glax Date: Sat, 20 May 2023 15:58:02 +0200 Subject: [PATCH] Renamed SelectTask to SelectTaskType to avoid confusion --- Tranga-CLI/Tranga_Cli.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tranga-CLI/Tranga_Cli.cs b/Tranga-CLI/Tranga_Cli.cs index c4bed50..8fa519e 100644 --- a/Tranga-CLI/Tranga_Cli.cs +++ b/Tranga-CLI/Tranga_Cli.cs @@ -82,7 +82,7 @@ public static class Tranga_Cli menu = 0; break; case 2: - TrangaTask.Task task = SelectTask(); + TrangaTask.Task task = SelectTaskType(); Connector? connector = null; if(task != TrangaTask.Task.UpdateKomgaLibrary) @@ -248,7 +248,7 @@ public static class Tranga_Cli taskManager.RemoveTask(tasks[selectedTaskIndex].task, tasks[selectedTaskIndex].connectorName, tasks[selectedTaskIndex].publication); } - private static TrangaTask.Task SelectTask() + private static TrangaTask.Task SelectTaskType() { Console.Clear(); string[] taskNames = Enum.GetNames();