Skip to content

Commit

Permalink
Refactor profile page to comment out edit profile navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mozart299 committed Dec 14, 2024
1 parent b896173 commit d32aaf2
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions mobile-v3/lib/src/app/profile/pages/profile_page.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import 'package:airqo/src/app/profile/bloc/user_bloc.dart';
import 'package:airqo/src/app/profile/pages/edit_profile.dart';
import 'package:airqo/src/app/profile/pages/widgets/devices_widget.dart';
import 'package:airqo/src/app/profile/pages/widgets/exposure_widget.dart';
import 'package:airqo/src/app/profile/pages/widgets/settings_widget.dart';
Expand Down Expand Up @@ -77,20 +76,20 @@ class _ProfilePageState extends State<ProfilePage> {
horizontal: 32),
height: 50,
child: Center(
//child: Text("Edit your profile")),
child: InkWell(
onTap: () => Navigator.of(context).push(
MaterialPageRoute(
builder: (context) =>
EditProfile())),
child: Text(
"Edit your profile",
style: TextStyle(
fontWeight: FontWeight.w500,
color: Colors.white,
),
),
)),
child: Text("Edit your profile")),
// child: InkWell(
// onTap: () => Navigator.of(context).push(
// MaterialPageRoute(
// builder: (context) =>
// EditProfile())),
// child: Text(
// "Edit your profile",
// style: TextStyle(
// fontWeight: FontWeight.w500,
// color: Colors.white,
// ),
// ),
//)),
decoration: BoxDecoration(
color: Theme.of(context).highlightColor,
borderRadius:
Expand Down

0 comments on commit d32aaf2

Please sign in to comment.