From e852971a13fc81a96f5f9b0f7803710fcba3a9c0 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 13 Jul 2024 20:55:35 -0500 Subject: [PATCH] fix(mobile): fix database out of size (#11065) --- mobile/lib/main.dart | 2 +- mobile/test/test_utils.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile/lib/main.dart b/mobile/lib/main.dart index e15dfbee8b..2340ed70d2 100644 --- a/mobile/lib/main.dart +++ b/mobile/lib/main.dart @@ -104,7 +104,7 @@ Future loadDb() async { if (Platform.isIOS) IOSDeviceAssetSchema, ], directory: dir.path, - maxSizeMiB: 256, + maxSizeMiB: 1024, ); Store.init(db); return db; diff --git a/mobile/test/test_utils.dart b/mobile/test/test_utils.dart index 49e32c13ad..7afd209f10 100644 --- a/mobile/test/test_utils.dart +++ b/mobile/test/test_utils.dart @@ -50,7 +50,7 @@ final class TestUtils { AndroidDeviceAssetSchema, IOSDeviceAssetSchema, ], - maxSizeMiB: 256, + maxSizeMiB: 1024, directory: "test/", );