Skip to content

Commit

Permalink
Settings updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ashu12chi committed Nov 1, 2020
1 parent 39bf000 commit 5c5764e
Showing 1 changed file with 0 additions and 58 deletions.
58 changes: 0 additions & 58 deletions lib/app_screens/settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,64 +35,6 @@ class _SettingsState extends State<Settings> {
body: ListView(
physics: BouncingScrollPhysics(),
children: <Widget>[
Padding(
padding: const EdgeInsets.all(8.0),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[
Row(
children: [
Padding(
padding: const EdgeInsets.only(right: 8.0),
child: Icon(Icons.notifications_active),
),
Text(
'Allow admin notifications',
style: TextStyle(fontSize: 18),
),
],
),
Switch(
value: adminNotification,
activeColor: Theme.of(context).accentColor,
onChanged: (value) {
setState(() {
adminNotification = value;
print(adminNotification);
});
})
],
),
),
InkWell(
onTap: showOptions,
child: Padding(
padding: const EdgeInsets.only(
left: 8.0, right: 8.0, top: 12.0, bottom: 12.0),
child: Container(
child: Row(
children: [
Padding(
padding: const EdgeInsets.only(right: 8.0),
child: Icon(Icons.calendar_today),
),
Text(
'News Feed Preference',
style: TextStyle(fontSize: 18),
),
],
),
),
),
),
Padding(
padding: EdgeInsets.only(top: 8.0, bottom: 4.0),
child: Container(
height: 1.0,
width: double.infinity,
color: Theme.of(context).dividerColor,
),
),
InkWell(
onTap: () async {
await clearCache(context);
Expand Down

0 comments on commit 5c5764e

Please sign in to comment.