ui/app,apps: unexport ChangeStage and Stage

I'm not convinced the API is right. For exmaple, an event that
notifies a program when to save its state is both smaller and
might be sufficient.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-05-11 13:50:18 +02:00
parent 314c79a725
commit f9840b0963
8 changed files with 57 additions and 62 deletions
-1
View File
@@ -185,7 +185,6 @@ func (a *App) run() error {
}
}
}
case app.ChangeStage:
case *app.Command:
switch e.Type {
case app.CommandBack: