Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
wuuzw committed Feb 8, 2021
1 parent ff2a2d7 commit b7ad666
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/app/modules/home/home_page.dart
@@ -1,12 +1,12 @@
import 'package:flutter/material.dart';
import 'package:flutter_modular/flutter_modular.dart';
import 'package:mobx/mobx.dart';
import 'package:zone/app/modules/home/widgets/option_menu_button.dart';

import 'home_controller.dart';
import 'widgets/dropdown_feed_select.dart';
import 'widgets/feed_bottom_bar.dart';
import 'widgets/feed_list_body.dart';
import 'widgets/option_menu_button.dart';

class HomePage extends StatefulWidget {
const HomePage({Key key}) : super(key: key);
Expand Down
5 changes: 1 addition & 4 deletions lib/app/modules/item/widgets/webview/webview_body.dart
Expand Up @@ -20,9 +20,6 @@ class WebViewBody extends StatelessWidget {
InAppWebView(
initialUrl: controller.itemFuture.value.url,
initialOptions: InAppWebViewGroupOptions(
crossPlatform: InAppWebViewOptions(

),
android: AndroidInAppWebViewOptions(
forceDark: AndroidForceDark.FORCE_DARK_ON,
),
Expand All @@ -37,7 +34,7 @@ class WebViewBody extends StatelessWidget {
controller.isLoadingWebContent = false;
},
),
controller.isLoadingWebContent ? LinearProgressIndicator() : Stack(),
if (controller.isLoadingWebContent) LinearProgressIndicator(),
],
);
},
Expand Down

0 comments on commit b7ad666

Please sign in to comment.