Remove remnant documentation for wayland fix

This commit is contained in:
Simon Spannagel
2023-01-30 08:39:54 +01:00
parent 6db94983a1
commit baa30a49b9
2 changed files with 0 additions and 31 deletions

View File

@@ -558,8 +558,6 @@ class App: Reactor.Component
{is_can_screen_recording && !handler.is_process_trusted(false) ? <TrustMe /> : ""}
{!service_stopped && is_can_screen_recording && handler.is_process_trusted(false) && handler.is_installed() && !handler.is_installed_daemon(false) ? <InstallDaemon /> : ""}
{system_error ? <SystemError /> : ""}
{!system_error && handler.is_login_wayland() && !handler.current_is_wayland() ? <FixWayland /> : ""}
{!system_error && handler.current_is_wayland() ? <ModifyDefaultLogin /> : ""}
</div>
<div .right-pane>
<div .right-content>
@@ -746,34 +744,6 @@ class InstallDaemon: Reactor.Component {
}
}
class FixWayland: Reactor.Component {
function render() {
return <div .trust-me>
<div>{translate('Warning')}</div>
<div>{translate('Login screen using Wayland is not supported')}</div>
<div #help-me .link>{translate('Help')}</div>
</div>;
}
event click $(#help-me) {
handler.open_url(translate("doc_fix_wayland"));
}
}
class ModifyDefaultLogin: Reactor.Component {
function render() {
return <div .trust-me>
<div>{translate('Warning')}</div>
<div>{translate('Current Wayland display server is not supported')}</div>
<div #help-me .link>{translate('Help')}</div>
</div>;
}
event click $(#help-me) {
handler.open_url(translate("doc_fix_wayland"));
}
}
function watch_trust() {
// not use TrustMe::update, because it is buggy
var trusted = handler.is_process_trusted(false);