Remove remnant documentation for wayland fix
This commit is contained in:
		
							parent
							
								
									6db94983a1
								
							
						
					
					
						commit
						baa30a49b9
					
				| @ -25,7 +25,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = | ||||
|         ("android_version_audio_tip", "The current Android version does not support audio capture, please upgrade to Android 10 or higher."), | ||||
|         ("android_start_service_tip", "Tap [Start Service] or OPEN [Screen Capture] permission to start the screen sharing service."), | ||||
|         ("doc_mac_permission", "https://rustdesk.com/docs/en/manual/mac/#enable-permissions"), | ||||
|         ("doc_fix_wayland", "https://rustdesk.com/docs/en/manual/linux/#x11-required"), | ||||
|         ("server_not_support", "Not yet supported by the server"), | ||||
|         ("android_open_battery_optimizations_tip", "If you want to disable this feature, please go to the next RustDesk application settings page, find and enter [Battery], Uncheck [Unrestricted]"), | ||||
|         ("remote_restarting_tip", "Remote device is restarting, please close this message box and reconnect with permanent password after a while"), | ||||
|  | ||||
| @ -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); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user