issue-8: added going forward in backstack and restoring last view

This commit is contained in:
Leon Mika 2022-08-23 22:32:27 +10:00
parent 1109f2c9ee
commit 4c187ebb4d
9 changed files with 204 additions and 50 deletions

View file

@ -77,7 +77,7 @@ func main() {
itemRendererService := itemrenderer.NewService(uiStyles.ItemView.FieldType, uiStyles.ItemView.MetaInfo)
state := controllers.NewState()
tableReadController := controllers.NewTableReadController(state, tableService, workspaceService, itemRendererService, *flagTable)
tableReadController := controllers.NewTableReadController(state, tableService, workspaceService, itemRendererService, *flagTable, true)
tableWriteController := controllers.NewTableWriteController(state, tableService, tableReadController)
commandController := commandctrl.NewCommandController()