From c2e260293cf29218a8ce9631b9995bc0dd77b5a7 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Sat, 17 Sep 2022 22:44:33 +0200 Subject: [PATCH] add toString --- covas_mobile/lib/main.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/covas_mobile/lib/main.dart b/covas_mobile/lib/main.dart index 80d6854..c9ddb2c 100644 --- a/covas_mobile/lib/main.dart +++ b/covas_mobile/lib/main.dart @@ -54,12 +54,12 @@ class _LoginDemoState extends State 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: