This commit is contained in:
rustdesk 2022-04-09 17:31:19 +08:00
parent 38b74be48b
commit 1f4610a3d0
5 changed files with 26 additions and 26 deletions

View File

@ -29,7 +29,7 @@ class _HomePageState extends State<HomePage> {
ConnectionPage(), ConnectionPage(),
chatPage, chatPage,
]); ]);
if(isAndroid){ if (isAndroid) {
_pages.add(ServerPage()); _pages.add(ServerPage());
} }
_pages.add(SettingsPage()); _pages.add(SettingsPage());
@ -88,7 +88,7 @@ class WebHomePage extends StatelessWidget {
backgroundColor: MyTheme.grayBg, backgroundColor: MyTheme.grayBg,
appBar: AppBar( appBar: AppBar(
centerTitle: true, centerTitle: true,
title: Text("RustDesk"), title: Text("RustDesk" + (isWeb ? " (Beta) " : "")),
actions: connectionPage.appBarActions, actions: connectionPage.appBarActions,
), ),
body: connectionPage, body: connectionPage,

View File

@ -262,7 +262,7 @@ class _RemotePageState extends State<RemotePage> {
}, },
) )
] + ] +
(isDesktop (false
? [] ? []
: [ : [
IconButton( IconButton(

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -33,7 +33,7 @@
<link rel="manifest" href="manifest.json"> <link rel="manifest" href="manifest.json">
<script src="ogvjs-1.8.6/ogv.js"></script> <script src="ogvjs-1.8.6/ogv.js"></script>
<script src="yuv.js"></script> <script src="yuv.js"></script>
<script type="module" crossorigin src="assets/index.8aa2241d.js"></script> <script type="module" crossorigin src="assets/index.1dc69d4c.js"></script>
<link rel="modulepreload" href="assets/vendor.b7bb6fa2.js"> <link rel="modulepreload" href="assets/vendor.b7bb6fa2.js">
<script src="yuv-canvas-1.2.6.js"></script> <script src="yuv-canvas-1.2.6.js"></script>
<style> <style>