Skip to content

Commit

Permalink
Update home_screen.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
GooRingX committed Dec 10, 2024
1 parent c43da3b commit 57e11bb
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions lib/screens/home_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -282,24 +282,13 @@ class _HomeScreenState extends LasyRenderingState<HomeScreen>
}
if (PlatformUtils.isPC()) {
var remoteConfig = RemoteConfigManager.getConfig();
{
String url = await UrlLauncherUtils.reorganizationUrlWithAnchor(
remoteConfig.getTranffic);
if (!context.mounted) {
return;
}
await WebviewHelper.loadUrl(context, url,
title: tcontext.SettingsScreen.getTranffic);
}
{
String url = await UrlLauncherUtils.reorganizationUrlWithAnchor(
remoteConfig.tutorial);
if (!context.mounted) {
return;
}
await WebviewHelper.loadUrl(context, url,
title: tcontext.SettingsScreen.tutorial);
String url = await UrlLauncherUtils.reorganizationUrlWithAnchor(
remoteConfig.tutorial);
if (!context.mounted) {
return;
}
await WebviewHelper.loadUrl(context, url,
title: tcontext.SettingsScreen.tutorial);
}
} else {
String? installer = await AutoUpdateManager.checkReplace();
Expand Down

0 comments on commit 57e11bb

Please sign in to comment.