<fix>[profile]: A minor fix

This commit is contained in:
2024-02-05 16:02:55 +03:00
parent 05b898a931
commit b2125b0c6c

View File

@@ -78,7 +78,7 @@ class AdditionalInformationScreen extends StatelessWidget {
);
var res = await jsonDecode(response.body);
final box = await Hive.openBox('token');
final token = res['token']['plainTextToken'];
final token = res['token'];
box.put('token', token);
Navigator.pushNamed(
context,