data model

This commit is contained in:
Christien Rioux 2023-07-06 22:52:02 -04:00
parent 4e91502f9e
commit 44a2761f87
13 changed files with 1103 additions and 139 deletions

View file

@ -60,7 +60,7 @@ class Processor {
// Set connection meter and ui state for connection state
var cs = ConnectionState.detached;
var checkPublicInternet = false;
switch (updateAttachment.state.state) {
switch (updateAttachment.state) {
case AttachmentState.detached:
cs = ConnectionState.detached;
break;
@ -92,7 +92,7 @@ class Processor {
break;
}
if (checkPublicInternet) {
if (!updateAttachment.state.publicInternetReady) {
if (!updateAttachment.publicInternetReady) {
cs = ConnectionState.attaching;
}
}