Revive the right block of the program
Moved the right part of the program from the old version. Slightly reworked the structure.
This commit is contained in:
@@ -18,10 +18,12 @@ type controller struct {
|
||||
|
||||
func NewController(app application.AppContract) ControllerContract {
|
||||
fyneWindow := app.FyneApp().NewWindow(app.FyneApp().Metadata().Name)
|
||||
queueLayout := window.NewQueueLayout()
|
||||
app.GetQueueService().AddListener(queueLayout)
|
||||
|
||||
return &controller{
|
||||
app: app,
|
||||
window: window.NewMainWindow(fyneWindow, app.GetProgressBarService()),
|
||||
window: window.NewMainWindow(fyneWindow, app.GetProgressBarService(), app.GetItemsToConvert(), queueLayout),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user