Add popup warning banner when the bridge has a problem

This commit is contained in:
hensm
2022-09-03 19:08:37 +01:00
parent 89acad2f9e
commit 25bd72f0fe
10 changed files with 120 additions and 34 deletions

View File

@@ -91,13 +91,13 @@
isExpanded = false;
} else if (
// If app is running
application?.appId &&
application &&
// And user hasn't manually changed the expanded state
!isExpandedUserModified &&
// And auto-expansion is enabled
opts?.receiverSelectorExpandActive
) {
isExpanded = connectedSessionIds.includes(application?.transportId);
isExpanded = connectedSessionIds.includes(application.transportId);
}
/** Whether a session request is in progress for this receiver.. */