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 return theUI
} }
func (u *UserInterface) Render() { func (u *UserInterface) Update() {
renderCh <- struct{}{} renderCh <- struct{}{}
ctx, cancel := context.WithCancel(context.Background()) ctx, cancel := context.WithCancel(context.Background())
go func() { go func() {

View File

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