tiny UI imrovments

This commit is contained in:
2026-03-09 20:09:46 +01:00
parent f6b790a515
commit ef03ef5039
3 changed files with 37 additions and 20 deletions

View File

@@ -140,6 +140,10 @@ export class ChatPageComponent {
return 'offline';
}
canReconnectWebRtc(): boolean {
return this.indicatorTone(this.webRtcState()) === 'offline';
}
async switchPeer(peerId: string): Promise<void> {
if (!peerId || peerId === this.peerId()) {
return;