diff --git a/ui/src/app/pages/server-routes/wifi/wifi-add/wifi-add.page.ts b/ui/src/app/pages/server-routes/wifi/wifi-add/wifi-add.page.ts index ede6e6041..76f44c546 100644 --- a/ui/src/app/pages/server-routes/wifi/wifi-add/wifi-add.page.ts +++ b/ui/src/app/pages/server-routes/wifi/wifi-add/wifi-add.page.ts @@ -51,8 +51,7 @@ export class WifiAddPage { const current = this.serverModel.peek().wifi.current await this.apiService.addWifi(this.ssid, this.password, this.countryCode, true) const success = await this.wifiService.confirmWifi(this.ssid) - if (!success) { - this.wifiService.addWifi(this.ssid) + if (success) { this.navCtrl.back() this.wifiService.presentAlertSuccess(this.ssid, current) } else { diff --git a/ui/src/app/pages/server-routes/wifi/wifi.page.html b/ui/src/app/pages/server-routes/wifi/wifi.page.html index 3e4f4fe84..90bce7c92 100644 --- a/ui/src/app/pages/server-routes/wifi/wifi.page.html +++ b/ui/src/app/pages/server-routes/wifi/wifi.page.html @@ -26,7 +26,7 @@ Warning!

- WiFi is a beta feature with known issues. If you make changes to WiFi, your Embassy and its Services may become unreachable for a few hours over Tor. Please use with caution and patience. + WiFi is a beta feature with known issues. If you make changes to WiFi, your Embassy and its Services may become unreachable for upward of a few hours over Tor. Please use with caution and patience. diff --git a/ui/src/app/pages/server-routes/wifi/wifi.service.ts b/ui/src/app/pages/server-routes/wifi/wifi.service.ts index 3112d4271..c1a05b26a 100644 --- a/ui/src/app/pages/server-routes/wifi/wifi.service.ts +++ b/ui/src/app/pages/server-routes/wifi/wifi.service.ts @@ -78,7 +78,7 @@ export class WifiService { } async presentAlertSuccess (current: string, old?: string): Promise { - let message = 'Note. It may take a few minutes for your Embassy to reconnect over Tor. If it does not reconnect after 5 minutes, please unplug the device and plug it back in. You may also need to hard refresh your browser cache.' + let message = 'Note. It may take a while for your Embassy to reconnect over Tor, upward of a few hour. Unplugging the device and plugging it back in may help, but it just takes time. You may also need to hard refresh your browser cache.' const alert = await this.alertCtrl.create({ header: `Connected to "${current}"`, message: old ? message : 'You may now unplug your Embassy from Ethernet.

' + message,