Skip to content

Commit

Permalink
Update attendance_api.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
chiragbiradar authored Dec 4, 2023
1 parent ac97ddc commit 110af02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/attendance_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class API extends ChangeNotifier {

void getSharedPref() async {
SharedPreferences pref = await SharedPreferences.getInstance();
usn = pref.getString('usn');
usn = pref.getString('usn')?.replaceAll(' ', '');
yyyy = pref.getString('yyyy');
mm = pref.getString('mm');
dd = pref.getString('dd');
Expand Down

0 comments on commit 110af02

Please sign in to comment.