mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Revert " Prompt user to install OpenXR package if not installed"
This reverts commit 75b522d210
.
This commit is contained in:
parent
138e50dc67
commit
5c6e38d1b4
8 changed files with 2 additions and 126 deletions
|
@ -19,23 +19,6 @@ namespace winrt::ServoApp::implementation {
|
|||
BrowserPage::BrowserPage() {
|
||||
InitializeComponent();
|
||||
BindServoEvents();
|
||||
if (!xrPkgChecker.IsInstalled()) {
|
||||
XRPkgWarning().Visibility(Visibility::Visible);
|
||||
xrPkgChecker.OnInstalled(
|
||||
[=] { XRPkgWarning().Visibility(Visibility::Collapsed); },
|
||||
std::chrono::seconds{5});
|
||||
}
|
||||
}
|
||||
|
||||
void BrowserPage::OnXRPkgWarningDismissClick(IInspectable const &,
|
||||
RoutedEventArgs const &) {
|
||||
xrPkgChecker.StopTracking();
|
||||
XRPkgWarning().Visibility(Visibility::Collapsed);
|
||||
}
|
||||
|
||||
void BrowserPage::OnXRPkgWarningInstallClick(IInspectable const &,
|
||||
RoutedEventArgs const &) {
|
||||
xrPkgChecker.OpenStore();
|
||||
}
|
||||
|
||||
void BrowserPage::BindServoEvents() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue