8000 enhance: auto-select the first page by default · sourcegit-scm/sourcegit@5e85f6f · GitHub
[go: up one dir, main page]

8000
Skip to content

Commit 5e85f6f

Browse files
committed
enhance: auto-select the first page by default
Signed-off-by: leo <longshuang@msn.cn>
1 parent 5299135 commit 5e85f6f
< 8000 /header>

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ViewModels/LauncherPageSwitcher.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ private void UpdateVisiblePages()
6767
}
6868

6969
VisiblePages = visible;
70+
SelectedPage = visible.Count > 0 ? visible[0] : null;
7071
}
7172

7273
private Launcher _launcher = null;

0 commit comments

Comments
 (0)
0