summaryrefslogtreecommitdiff
path: root/gui/backend.go
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-11-25 13:45:54 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-11-29 18:14:05 +0100
commitb7b19b7195366dbacc4078b5b7a3fc6a3ad7889b (patch)
tree2b97e0167d507ddd9c1b5b0d5f0d3efbc4e6829c /gui/backend.go
parenta81bf938fe2b9409d1fa0175cc5f20635bb16127 (diff)
[feat] expose snowflake in preferences
it will be disabled if Tor not present, for now
Diffstat (limited to 'gui/backend.go')
-rw-r--r--gui/backend.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/backend.go b/gui/backend.go
index 5c07cda..516ef4a 100644
--- a/gui/backend.go
+++ b/gui/backend.go
@@ -58,6 +58,11 @@ func SetUDP(udp bool) {
backend.SetUDP(udp)
}
+//export SetSnowflake
+func SetSnowflake(snowflake bool) {
+ backend.SetSnowflake(snowflake)
+}
+
//export Quit
func Quit() {
backend.Quit()