~whereswaldon/gio-x

8a779061c387f413c3422fd3ab91a9439842af86 — Chris Waldon a month ago 1dac9ca
haptic: fix ios go code formatting

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
1 files changed, 4 insertions(+), 4 deletions(-)

M haptic/haptic_ios.go
M haptic/haptic_ios.go => haptic/haptic_ios.go +4 -4
@@ 18,8 18,8 @@ void buzz() {
import "C"

import (
    "gioui.org/app"
    "log"
	"gioui.org/app"
	"log"
)

// Buzzer provides methods to trigger haptic feedback. On OSes other than android,


@@ 31,8 31,8 @@ type Buzzer struct {
// or not it was successful. If it returns false, it is safe to retry. On unsupported
// platforms, it always returns true.
func (b *Buzzer) Buzz() bool {
    log.Println("buzzing")
    C.buzz()
	log.Println("buzzing")
	C.buzz()
	return true
}