Skip to content

Commit

Permalink
chore: #197-???플러터가 수정해준거같음..
Browse files Browse the repository at this point in the history
  • Loading branch information
ji-hunc committed May 13, 2024
1 parent 4719429 commit 4587a69
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions front/capstone_front/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,17 @@ Future<void> getMenus() async {

Future<void> getUserInfo() async {
const storage = FlutterSecureStorage();
String? _userName = (await storage.read(key: "userName"));
if (_userName == null) {
String? userName = (await storage.read(key: "userName"));
if (userName == null) {
userName = '';
} else {
userName = _userName;
userName = userName;
}
String? _userMajor = (await storage.read(key: "userMajor"));
if (_userMajor == null) {
String? userMajor = (await storage.read(key: "userMajor"));
if (userMajor == null) {
userMajor = '';
} else {
userMajor = _userMajor;
userMajor = userMajor;
}
}

Expand Down

0 comments on commit 4587a69

Please sign in to comment.