Merge branch '46-bug-voidgenerator-does-not-work' into 'main'
Resolve "Bug: VoidGenerator does not work" Closes #46 See merge request open-source/dotnet/i18n-commander!21
This commit is contained in:
		
						commit
						455627f035
					
				@ -2,5 +2,5 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
public class VoidGenerator : IGenerator
 | 
					public class VoidGenerator : IGenerator
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    public Task GenerateAsync() => Task.CompletedTask;
 | 
					    public Task<ProcessorResult<long>> GenerateAsync() => Task.FromResult(new ProcessorResult<long>(0));
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -10,7 +10,7 @@ namespace UI_WinForms.Components;
 | 
				
			|||||||
public partial class SectionTree : UserControl
 | 
					public partial class SectionTree : UserControl
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    private static readonly Dictionary<TreeNode, EventHandler<DataModel.Database.Translation?>?> NODE_PROGRESS_HANDLERS = new();
 | 
					    private static readonly Dictionary<TreeNode, EventHandler<DataModel.Database.Translation?>?> NODE_PROGRESS_HANDLERS = new();
 | 
				
			||||||
    private readonly Timer generatorTimer;
 | 
					    private readonly Timer generatorTimer = null!;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public SectionTree()
 | 
					    public SectionTree()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user