M cmd/scatter/ui.go => cmd/scatter/ui.go +1 -3
@@ 199,9 199,7 @@ func mustIcon(data []byte) *material.Icon {
func (a *App) run() error {
var updates <-chan struct{}
- gtx := &layout.Context{
- Queue: a.w.Queue(),
- }
+ gtx := layout.NewContext(a.w.Queue())
for {
select {
case <-updates:
M go.mod => go.mod +1 -1
@@ 3,7 3,7 @@ module scatter.im
go 1.13
require (
- gioui.org v0.0.0-20191118140311-16cc51ee8aa6
+ gioui.org v0.0.0-20191202122135-c0beeb5e77dc
github.com/eliasnaur/libsignal-protocol-go v0.0.0-20190626062856-3295f72b181e
github.com/emersion/go-imap v1.0.0-rc.1
github.com/emersion/go-imap-idle v0.0.0-20190519112320-2704abd7050e
M go.sum => go.sum +2 -2
@@ 1,6 1,6 @@
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
-gioui.org v0.0.0-20191118140311-16cc51ee8aa6 h1:BGCyE3K5szHLZqNXruHBC+z++CHKznJyi8KXdNEc754=
-gioui.org v0.0.0-20191118140311-16cc51ee8aa6/go.mod h1:KqFFi2Dq5gYA3FJ0sDOt8OBXoMsuxMtE8v2f0JExXAY=
+gioui.org v0.0.0-20191202122135-c0beeb5e77dc h1:2eKdkpHtriwdbRvEXKDzukEE/w5cbQDaTJSHsXB+tT0=
+gioui.org v0.0.0-20191202122135-c0beeb5e77dc/go.mod h1:KqFFi2Dq5gYA3FJ0sDOt8OBXoMsuxMtE8v2f0JExXAY=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/RadicalApp/complete v0.0.0-20170329192659-17e6c0ee499b h1:cAULFohNVfNzco0flF4okSPg3s7/tCj+hMIldtYZo4c=
github.com/RadicalApp/complete v0.0.0-20170329192659-17e6c0ee499b/go.mod h1:zZ3+l0EkpT2ZPnoamPBG50PBUtQrXwwyJ6elQZMmqgk=