cmd/tailscale: delete unused FileTargetsEvent; gofmt

Signed-off-by: Elias Naur <mail@eliasnaur.com>
pull/19/head
Elias Naur 3 years ago
parent d3edb004e3
commit 54eab1a5d3

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

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build pprof
// +build pprof
package main

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build tools
// +build tools
package main

Loading…
Cancel
Save