Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Commit

Permalink
Merge pull request #307 from OpenbookOrg/feature/separators-in-menu
Browse files Browse the repository at this point in the history
✨ add separators in menu
  • Loading branch information
lifenautjoe authored Jun 5, 2019
2 parents aa361e6 + 8f32eb8 commit 144cd76
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/pages/home/pages/menu/menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import 'package:Openbook/widgets/nav_bars/themed_nav_bar.dart';
import 'package:Openbook/provider.dart';
import 'package:Openbook/widgets/theming/primary_color_container.dart';
import 'package:Openbook/widgets/theming/text.dart';
import 'package:Openbook/widgets/tile_group_title.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

Expand Down Expand Up @@ -52,6 +53,9 @@ class OBMainMenuPage extends StatelessWidget {
// Important: Remove any padding from the ListView.
padding: EdgeInsets.zero,
children: <Widget>[
OBTileGroupTitle(
title: 'My Openbook',
),
ListTile(
leading: const OBIcon(OBIcons.circles),
title: const OBText('My circles'),
Expand Down Expand Up @@ -120,6 +124,9 @@ class OBMainMenuPage extends StatelessWidget {
count: user.activeModerationPenaltiesCount,
),
),
OBTileGroupTitle(
title: 'App & Account',
),
ListTile(
leading: const OBIcon(OBIcons.settings),
title: OBText('Settings'),
Expand Down

0 comments on commit 144cd76

Please sign in to comment.