Skip to content

Commit

Permalink
removed mess links and team button
Browse files Browse the repository at this point in the history
  • Loading branch information
Hareesh-Nandigrama committed Oct 8, 2023
1 parent d84b5d7 commit 88a074f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 25 deletions.
3 changes: 1 addition & 2 deletions lib/pages/food/food_tab.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import 'package:onestop_dev/models/food/restaurant_model.dart';
import 'package:onestop_dev/services/data_provider.dart';
import 'package:onestop_dev/widgets/food/favourite_dishes.dart';
import 'package:onestop_dev/widgets/food/food_search_bar.dart';
import 'package:onestop_dev/widgets/food/mess/mess_links.dart';
import 'package:onestop_dev/widgets/food/mess/mess_menu.dart';
import 'package:onestop_dev/widgets/food/outlets_filter.dart';
import 'package:onestop_dev/widgets/food/restaurant/restaurant_tile.dart';
Expand Down Expand Up @@ -35,7 +34,7 @@ class FoodTab extends StatelessWidget {
children: [
MessMenu(),
const SizedBox(height: 16),
const MessLinks(),
// const MessLinks(),
const SizedBox(height: 16),
const FavoriteDishes(),
const SizedBox(height: 16),
Expand Down
41 changes: 19 additions & 22 deletions lib/widgets/home/home_drawer.dart
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:onestop_dev/functions/utility/phone_email.dart';
import 'package:onestop_dev/pages/developer/developer_page.dart';
import 'package:onestop_dev/pages/home/home.dart';
import 'package:onestop_dev/widgets/ui/appbar.dart';
import 'package:provider/provider.dart';

import '../../globals/my_colors.dart';
import '../../globals/my_fonts.dart';
Expand Down Expand Up @@ -130,25 +127,25 @@ class HomeDrawer extends StatelessWidget {
),
),
),
GestureDetector(
onTap: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (buildContext) => const DeveloperPage(),
),
);
scaffoldKey.currentState!.closeDrawer();
},
child: Padding(
padding:
const EdgeInsets.symmetric(horizontal: 8, vertical: 8),
child: Text(
"Team",
style: MyFonts.w400.size(14).setColor(kWhite),
),
),
),
// GestureDetector(
// onTap: () {
// Navigator.push(
// context,
// MaterialPageRoute(
// builder: (buildContext) => const DeveloperPage(),
// ),
// );
// scaffoldKey.currentState!.closeDrawer();
// },
// child: Padding(
// padding:
// const EdgeInsets.symmetric(horizontal: 8, vertical: 8),
// child: Text(
// "Team",
// style: MyFonts.w400.size(14).setColor(kWhite),
// ),
// ),
// ),
Expanded(child: Container()),

SvgPicture.asset("assets/images/logo.svg"),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 2.1.2+45
version: 2.1.2+46

environment:
sdk: ">=2.17.0 <3.0.0"
Expand Down

0 comments on commit 88a074f

Please sign in to comment.