diff options
Diffstat (limited to 'exports')
| -rw-r--r-- | exports/exports.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/exports/exports.go b/exports/exports.go index fe7581e..724185a 100644 --- a/exports/exports.go +++ b/exports/exports.go @@ -361,19 +361,6 @@ func RenewSession() *C.char { return getCError(renewSessionErr) } -//export ShouldRenewButton -func ShouldRenewButton() C.int { - state, stateErr := getVPNState() - if stateErr != nil { - return C.int(0) - } - shouldRenewBool := state.ShouldRenewButton() - if shouldRenewBool { - return C.int(1) - } - return C.int(0) -} - //export SetSupportWireguard func SetSupportWireguard(support C.int) *C.char { state, stateErr := getVPNState() |
