feat: view to enable/disable Unstable Features

This commit is contained in:
naturecodevoid
2023-05-20 14:23:25 -07:00
parent 9c3461b0c6
commit 637a0354c5
8 changed files with 85 additions and 41 deletions

View File

@@ -136,6 +136,15 @@ struct DevModeMenu: View {
LCManager.shared.isVisible = value
}
NavigationLink(L10n.UnstableFeaturesView.title) {
#if UNSTABLE
UnstableFeaturesView(allowDevModeOnlyFeatures: true)
#endif
}
#if !UNSTABLE
.disabled(true)
#endif
NavigationLink(L10n.DevModeView.dataExplorer) {
FileExplorer.normal(url: FileManager.default.altstoreSharedDirectory)
.navigationTitle(L10n.DevModeView.dataExplorer)