mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 19:17:58 +00:00
fix remote tab lable update, Get.find always return the first instance
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -269,11 +269,8 @@ class DesktopTab extends StatelessWidget {
|
||||
}
|
||||
|
||||
static RxString tablabelGetter(String peerId) {
|
||||
PeerStringOption.init(peerId, 'tabLabel', () {
|
||||
final alias = bind.mainGetPeerOptionSync(id: peerId, key: 'alias');
|
||||
return getDesktopTabLabel(peerId, alias);
|
||||
});
|
||||
return PeerStringOption.find(peerId, 'tabLabel');
|
||||
final alias = bind.mainGetPeerOptionSync(id: peerId, key: 'alias');
|
||||
return RxString(getDesktopTabLabel(peerId, alias));
|
||||
}
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user