uidriver/mobile: Rename Render -> Update

This commit is contained in:
Hajime Hoshi 2019-11-17 21:52:06 +09:00
parent 92e056c508
commit 725cc22200
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ func Get() *UserInterface {
return theUI
}
func (u *UserInterface) Render() {
func (u *UserInterface) Update() {
renderCh <- struct{}{}
ctx, cancel := context.WithCancel(context.Background())
go func() {

View File

@ -38,6 +38,6 @@ func update() error {
default:
}
mobile.Get().Render()
mobile.Get().Update()
return nil
}