Skip to content

fix: 空分组导致 TabRow 崩溃防护 (#17) - #21

Open
lyh2005050 wants to merge 2 commits into
icylian:masterfrom
lyh2005050:fix/empty-group-crash
Open

lyh2005050 wants to merge 2 commits into
icylian:masterfrom
lyh2005050:fix/empty-group-crash

Conversation

@lyh2005050

Copy link
Copy Markdown

问题

Fixes #17 空分组导致应用闪退。

修复

当 state.groups 为空时,titles 和 selectedServerGroup 都加了空安全处理,避免 TabRow 渲染空列表时崩溃。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

空分组导致应用闪退

1 participant