From cfe44e6c58bd3410969b0ef08358371111fa0a28 Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Thu, 18 Jul 2024 20:44:08 +0100 Subject: [PATCH] Dump with indentation. For some reason that fixes the read problems with secret store --- flutter_secure_storage_linux/linux/include/Secret.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter_secure_storage_linux/linux/include/Secret.hpp b/flutter_secure_storage_linux/linux/include/Secret.hpp index aa38aaa0..a08dfc9e 100644 --- a/flutter_secure_storage_linux/linux/include/Secret.hpp +++ b/flutter_secure_storage_linux/linux/include/Secret.hpp @@ -60,7 +60,7 @@ class SecretStorage { bool deleteKeyring() { return this->storeToKeyring(nlohmann::json()); } bool storeToKeyring(nlohmann::json value) { - const std::string output = value.dump(); + const std::string output = value.dump(0); g_autoptr(GError) err = nullptr; bool result = secret_password_storev_sync( &the_schema, m_attributes.getGHashTable(), nullptr, label.c_str(),