add toString
This commit is contained in:
parent
beea120e04
commit
c2e260293c
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user