add toString

This commit is contained in:
Valentin CZERYBA 2022-09-17 22:44:33 +02:00
parent beea120e04
commit c2e260293c

View File

@ -54,12 +54,12 @@ class _LoginDemoState extends State<LoginDemo> with ShowErrorDialog {
switch (cookie2.split("=")[0]) {
case "jwt":
{
prefs.setString("jwt", cookie2);
prefs.setString("jwt", cookie2.toString());
}
break;
case "user":
{
prefs.setString("user", cookie2);
prefs.setString("user", cookie2.toString());
}
break;
default: