Fixed App webpage scrolling issue

This commit is contained in:
Imran Remtulla
2022-09-18 13:59:26 -04:00
parent 6c1ad94b4f
commit 90fa0e06ce

View File

@@ -26,11 +26,9 @@ class _AppPageState extends State<AppPage> {
appsProvider.getUpdate(app!.app.id);
}
return Scaffold(
appBar: settingsProvider.showAppWebpage ? AppBar() : null,
backgroundColor: Theme.of(context).colorScheme.surface,
body: CustomScrollView(slivers: <Widget>[
CustomAppBar(title: '${app?.app.name}'),
SliverFillRemaining(
child: settingsProvider.showAppWebpage
body: settingsProvider.showAppWebpage
? WebView(
initialUrl: app?.app.url,
javascriptMode: JavascriptMode.unrestricted,
@@ -82,8 +80,6 @@ class _AppPageState extends State<AppPage> {
),
],
),
),
]),
bottomSheet: Padding(
padding: EdgeInsets.fromLTRB(
0, 0, 0, MediaQuery.of(context).padding.bottom),