mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-20 21:19:29 +02:00
Fixed App webpage scrolling issue
This commit is contained in:
@@ -26,11 +26,9 @@ class _AppPageState extends State<AppPage> {
|
|||||||
appsProvider.getUpdate(app!.app.id);
|
appsProvider.getUpdate(app!.app.id);
|
||||||
}
|
}
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
|
appBar: settingsProvider.showAppWebpage ? AppBar() : null,
|
||||||
backgroundColor: Theme.of(context).colorScheme.surface,
|
backgroundColor: Theme.of(context).colorScheme.surface,
|
||||||
body: CustomScrollView(slivers: <Widget>[
|
body: settingsProvider.showAppWebpage
|
||||||
CustomAppBar(title: '${app?.app.name}'),
|
|
||||||
SliverFillRemaining(
|
|
||||||
child: settingsProvider.showAppWebpage
|
|
||||||
? WebView(
|
? WebView(
|
||||||
initialUrl: app?.app.url,
|
initialUrl: app?.app.url,
|
||||||
javascriptMode: JavascriptMode.unrestricted,
|
javascriptMode: JavascriptMode.unrestricted,
|
||||||
@@ -82,8 +80,6 @@ class _AppPageState extends State<AppPage> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
|
||||||
]),
|
|
||||||
bottomSheet: Padding(
|
bottomSheet: Padding(
|
||||||
padding: EdgeInsets.fromLTRB(
|
padding: EdgeInsets.fromLTRB(
|
||||||
0, 0, 0, MediaQuery.of(context).padding.bottom),
|
0, 0, 0, MediaQuery.of(context).padding.bottom),
|
||||||
|
Reference in New Issue
Block a user