desktop tab lable format: id/alias@hostname

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-09-26 15:11:31 +08:00
parent 4e97d2503b
commit e000fdfb50
8 changed files with 50 additions and 24 deletions

View File

@@ -210,7 +210,7 @@ class _ConnectionTabPageState extends State<ConnectionTabPage> {
onWindowCloseButton: handleWindowCloseButton,
tail: const AddButton().paddingOnly(left: 10),
pageViewBuilder: (pageView) => pageView,
labelGetter: DesktopTab.labelGetterAlias,
labelGetter: DesktopTab.tablabelGetter,
tabBuilder: (key, icon, label, themeConf) => Obx(() {
final connectionType = ConnectionTypeState.find(key);
if (!connectionType.isValid()) {