File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class Codephile extends StatelessWidget {
5050 StorageService .init ();
5151 NotificationService .init ();
5252
53- if (StorageService .exists (AppStrings .userKey)) {
53+ if (StorageService .exists (AppStrings .userKey, checkForNull : true )) {
5454 // Fetch User Details on Startup
5555 try {
5656 StorageService .user = await UserRepository .fetchUserDetails ();
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import 'package:flutter_svg/flutter_svg.dart';
66
77import '../../../data/constants/assets.dart' ;
88import '../../../data/constants/colors.dart' ;
9- import '../../../data/constants/styles.dart' ;
9+ // import '../../../data/constants/styles.dart';
1010import '../../components/inputs/text_input.dart' ;
1111import '../bloc/update_profile_bloc.dart' ;
1212
@@ -59,18 +59,19 @@ class ProfileDetails extends StatelessWidget {
5959 );
6060 },
6161 ),
62- Align (
63- alignment: Alignment .bottomRight,
64- child: TextButton (
65- onPressed: () {
66- context.read <UpdateProfileBloc >().add (const SwitchView ());
67- },
68- child: Text (
69- 'Change Password' ,
70- style: AppStyles .h6.copyWith (color: AppColors .primary),
71- ),
72- ),
73- ),
62+ // TODO(aman-singh7): Blocked From backend. Information Needed
63+ // Align(
64+ // alignment: Alignment.bottomRight,
65+ // child: TextButton(
66+ // onPressed: () {
67+ // context.read<UpdateProfileBloc>().add(const SwitchView());
68+ // },
69+ // child: Text(
70+ // 'Change Password',
71+ // style: AppStyles.h6.copyWith(color: AppColors.primary),
72+ // ),
73+ // ),
74+ // ),
7475 ],
7576 );
7677 }
You can’t perform that action at this time.
0 commit comments