mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-03-11 00:21:45 +00:00
profile page fix bugs
This commit is contained in:
@ -17,7 +17,6 @@ class ProfileView extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
||||
return BlocProvider(
|
||||
create: (BuildContext context) => ProfileBloc()..add(InitialProfileEvent()),
|
||||
child: BlocConsumer<ProfileBloc, ProfileState>(
|
||||
@ -137,9 +136,9 @@ class ProfileView extends StatelessWidget {
|
||||
height: 1,
|
||||
color: ColorsManager.greyColor,
|
||||
),
|
||||
|
||||
InkWell(
|
||||
onTap: () {
|
||||
profileBloc.add(const ChangeNameEvent(value: false));
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
@ -166,6 +165,7 @@ class ProfileView extends StatelessWidget {
|
||||
),
|
||||
InkWell(
|
||||
onTap: () {
|
||||
profileBloc.add(const ChangeNameEvent(value: false));
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
|
||||
Reference in New Issue
Block a user