mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
fix web
This commit is contained in:
@@ -29,7 +29,7 @@ class _HomePageState extends State<HomePage> {
|
||||
ConnectionPage(),
|
||||
chatPage,
|
||||
]);
|
||||
if(isAndroid){
|
||||
if (isAndroid) {
|
||||
_pages.add(ServerPage());
|
||||
}
|
||||
_pages.add(SettingsPage());
|
||||
@@ -88,7 +88,7 @@ class WebHomePage extends StatelessWidget {
|
||||
backgroundColor: MyTheme.grayBg,
|
||||
appBar: AppBar(
|
||||
centerTitle: true,
|
||||
title: Text("RustDesk"),
|
||||
title: Text("RustDesk" + (isWeb ? " (Beta) " : "")),
|
||||
actions: connectionPage.appBarActions,
|
||||
),
|
||||
body: connectionPage,
|
||||
|
||||
@@ -262,7 +262,7 @@ class _RemotePageState extends State<RemotePage> {
|
||||
},
|
||||
)
|
||||
] +
|
||||
(isDesktop
|
||||
(false
|
||||
? []
|
||||
: [
|
||||
IconButton(
|
||||
|
||||
Reference in New Issue
Block a user