mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-01-31 00:47:30 +01:00
Renamed SelectTask to SelectTaskType to avoid confusion
This commit is contained in:
parent
337111d833
commit
fcb1848a93
@ -82,7 +82,7 @@ public static class Tranga_Cli
|
|||||||
menu = 0;
|
menu = 0;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
TrangaTask.Task task = SelectTask();
|
TrangaTask.Task task = SelectTaskType();
|
||||||
|
|
||||||
Connector? connector = null;
|
Connector? connector = null;
|
||||||
if(task != TrangaTask.Task.UpdateKomgaLibrary)
|
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);
|
taskManager.RemoveTask(tasks[selectedTaskIndex].task, tasks[selectedTaskIndex].connectorName, tasks[selectedTaskIndex].publication);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static TrangaTask.Task SelectTask()
|
private static TrangaTask.Task SelectTaskType()
|
||||||
{
|
{
|
||||||
Console.Clear();
|
Console.Clear();
|
||||||
string[] taskNames = Enum.GetNames<TrangaTask.Task>();
|
string[] taskNames = Enum.GetNames<TrangaTask.Task>();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user