+
0.2.9 introduces LAN support for services running on the Embassy. A service's LAN address (.local URL) can be accessed while connected to the same network. This is useful for two reasons: (1) LAN connections are significantly faster than Tor, and (2) if the Tor network is experiencing connectivity issues, you will not be locked out of your services.
diff --git a/ui/src/app/modals/os-welcome/os-welcome.page.scss b/ui/src/app/modals/os-welcome/os-welcome.page.scss index a618a1ad1..d48aace7d 100644 --- a/ui/src/app/modals/os-welcome/os-welcome.page.scss +++ b/ui/src/app/modals/os-welcome/os-welcome.page.scss @@ -3,6 +3,10 @@ display: flex; justify-content: center; align-items: center; - height: 100%; min-height: 100px; } + +.main-content { + height: 100%; + color: var(--ion-color-medium); +} \ No newline at end of file diff --git a/ui/src/app/modals/os-welcome/os-welcome.page.ts b/ui/src/app/modals/os-welcome/os-welcome.page.ts index 0cb5cf69e..f88b246be 100644 --- a/ui/src/app/modals/os-welcome/os-welcome.page.ts +++ b/ui/src/app/modals/os-welcome/os-welcome.page.ts @@ -12,24 +12,17 @@ import { ConfigService } from 'src/app/services/config.service' export class OSWelcomePage { @Input() version: string - autoCheckUpdates = true - constructor ( private readonly modalCtrl: ModalController, private readonly apiService: ApiService, - private readonly serverModel: ServerModel, private readonly config: ConfigService, ) { } async dismiss () { - this.apiService - .patchServerConfig('autoCheckUpdates', this.autoCheckUpdates) - .then(() => this.serverModel.update({ autoCheckUpdates: this.autoCheckUpdates })) - .then(() => this.apiService.acknowledgeOSWelcome(this.config.version)) - .catch(console.error) + this.apiService.acknowledgeOSWelcome(this.config.version).catch(console.error) // return false to skip subsequent alert modals (e.g. check for updates modals) // return true to show subsequent alert modals - return this.modalCtrl.dismiss(this.autoCheckUpdates) + return this.modalCtrl.dismiss(true) } } diff --git a/ui/src/app/services/api/mock-api.service.ts b/ui/src/app/services/api/mock-api.service.ts index 525764c79..82b63ae01 100644 --- a/ui/src/app/services/api/mock-api.service.ts +++ b/ui/src/app/services/api/mock-api.service.ts @@ -11,7 +11,7 @@ import { mockApiAppAvailableFull, mockApiAppAvailableVersionInfo, mockApiAppInst //@TODO consider moving to test folders. @Injectable() export class MockApiService extends ApiService { - welcomeAck = true + welcomeAck = false constructor ( private readonly appModel: AppModel,