mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-27 16:35:26 -04:00
data model
This commit is contained in:
parent
4e91502f9e
commit
44a2761f87
13 changed files with 1103 additions and 139 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue