Skip to content

Commit

Permalink
πŸ’„ Remove annoying padding top
Browse files Browse the repository at this point in the history
  • Loading branch information
rootasjey committed Feb 25, 2021
1 parent 014b0ed commit 3f7523e
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions lib/screens/topic_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,6 @@ class _TopicPageState extends State<TopicPage> {
child: CustomScrollView(
controller: scrollController,
slivers: <Widget>[
SliverPadding(
padding: const EdgeInsets.only(top: 40.0),
),
appBar(),
quotesListViewContainer(),
],
Expand All @@ -430,7 +427,6 @@ class _TopicPageState extends State<TopicPage> {
Widget smallView() {
final width = MediaQuery.of(context).size.width;
final leftOffset = width < 500.00 ? 0.6 : 0.0;
final topPadding = width < Constants.maxMobileWidth ? 0.0 : 60.0;

return InnerDrawer(
key: _innerDrawerKey,
Expand All @@ -446,12 +442,7 @@ class _TopicPageState extends State<TopicPage> {
child: topicsItemsList(),
),
),
scaffold: Material(
child: Padding(
padding: EdgeInsets.only(top: topPadding),
child: mainContent(),
),
),
scaffold: mainContent(),
);
}

Expand Down

0 comments on commit 3f7523e

Please sign in to comment.