|
|
@ -175,12 +175,11 @@ type FileSendEvent struct {
|
|
|
|
|
|
|
|
|
|
|
|
// UIEvent types.
|
|
|
|
// UIEvent types.
|
|
|
|
type (
|
|
|
|
type (
|
|
|
|
ToggleEvent struct{}
|
|
|
|
ToggleEvent struct{}
|
|
|
|
ReauthEvent struct{}
|
|
|
|
ReauthEvent struct{}
|
|
|
|
WebAuthEvent struct{}
|
|
|
|
WebAuthEvent struct{}
|
|
|
|
GoogleAuthEvent struct{}
|
|
|
|
GoogleAuthEvent struct{}
|
|
|
|
LogoutEvent struct{}
|
|
|
|
LogoutEvent struct{}
|
|
|
|
FileTargetsEvent struct{}
|
|
|
|
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
// serverOAuthID is the OAuth ID of the tailscale-android server, used
|
|
|
|
// serverOAuthID is the OAuth ID of the tailscale-android server, used
|
|
|
@ -872,7 +871,6 @@ func (a *App) runUI() error {
|
|
|
|
case files = <-onFileShare:
|
|
|
|
case files = <-onFileShare:
|
|
|
|
ui.ShowShareDialog()
|
|
|
|
ui.ShowShareDialog()
|
|
|
|
w.Invalidate()
|
|
|
|
w.Invalidate()
|
|
|
|
backendEvents <- FileTargetsEvent{}
|
|
|
|
|
|
|
|
case t := <-a.targetsLoaded:
|
|
|
|
case t := <-a.targetsLoaded:
|
|
|
|
ui.FillShareDialog(t.Targets, t.Err)
|
|
|
|
ui.FillShareDialog(t.Targets, t.Err)
|
|
|
|
w.Invalidate()
|
|
|
|
w.Invalidate()
|
|
|
|