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]) {
|
switch (cookie2.split("=")[0]) {
|
||||||
case "jwt":
|
case "jwt":
|
||||||
{
|
{
|
||||||
prefs.setString("jwt", cookie2);
|
prefs.setString("jwt", cookie2.toString());
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "user":
|
case "user":
|
||||||
{
|
{
|
||||||
prefs.setString("user", cookie2);
|
prefs.setString("user", cookie2.toString());
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user