feat: brand launcher and hide upstream-only pages
This commit is contained in:
1 parent
d66dc97de1
commit
dea4932d9c
8 files changed
+15
-17
No files matched your search
@@ -7,7 +7,7 @@ Public Class PageOtherLeft
|
||||
Dim IsHiddenPage As Boolean = False
|
||||
If ItemHelp.Checked AndAlso Settings.Get(Of Boolean)("UiHiddenOtherHelp") Then IsHiddenPage = True
|
||||
If ItemAbout.Checked AndAlso Settings.Get(Of Boolean)("UiHiddenOtherAbout") Then IsHiddenPage = True
|
||||
If ItemTest.Checked AndAlso Settings.Get(Of Boolean)("UiHiddenOtherTest") Then IsHiddenPage = True
|
||||
If ItemTest.Checked Then IsHiddenPage = True
|
||||
If PageSetupUI.HiddenForceShow Then IsHiddenPage = False
|
||||
'若页面错误,或尚未加载,则继续
|
||||
If IsLoad AndAlso Not IsHiddenPage Then Return
|
||||
@@ -21,7 +21,7 @@ Public Class PageOtherLeft
|
||||
ElseIf Not Settings.Get(Of Boolean)("UiHiddenOtherAbout") Then
|
||||
ItemAbout.SetChecked(True, False, False)
|
||||
Else
|
||||
ItemTest.SetChecked(True, False, False)
|
||||
ItemAbout.SetChecked(True, False, False)
|
||||
End If
|
||||
End Sub
|
||||
Private Sub PageOtherLeft_Unloaded(sender As Object, e As RoutedEventArgs) Handles Me.Unloaded
|
||||
@@ -42,7 +42,7 @@ Public Class PageOtherLeft
|
||||
ElseIf Not Settings.Get(Of Boolean)("UiHiddenOtherAbout") Then
|
||||
PageID = FormMain.PageSubType.OtherAbout
|
||||
Else
|
||||
PageID = FormMain.PageSubType.OtherTest
|
||||
PageID = FormMain.PageSubType.OtherAbout
|
||||
End If
|
||||
End Sub
|
||||
|
||||
@@ -142,7 +142,7 @@ Public Class PageOtherLeft
|
||||
Case 1
|
||||
Feedback(True, False)
|
||||
Case 2
|
||||
OpenWebsite("https://github.com/Meloong-Git/PCL/issues/")
|
||||
OpenWebsite("https://git.infstar.cn/InfStarMC/PCL-ISE/issues/")
|
||||
End Select
|
||||
End Sub
|
||||
Private Sub TryVote(sender As Object, e As RouteEventArgs) Handles ItemVote.Changed
|
||||
|
||||
Reference in new issue
Block a user