only show login for customized self host

This commit is contained in:
rustdesk
2022-04-17 20:36:54 +08:00
parent cabb39005b
commit 51ad81e48f
6 changed files with 47 additions and 19 deletions

View File

@@ -40,7 +40,7 @@ class App extends StatelessWidget {
primarySwatch: Colors.blue,
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: isWeb ? WebHomePage() : HomePage(),
home: !isAndroid ? WebHomePage() : HomePage(),
navigatorObservers: [
FirebaseAnalyticsObserver(analytics: analytics),
],