From 42e67a15f6325f0fe44261f7c738272e2dad7c50 Mon Sep 17 00:00:00 2001 From: Istvan Soos Date: Fri, 20 Oct 2023 15:33:29 +0200 Subject: [PATCH] fixed-time --- app/lib/package/export_api_to_bucket.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/lib/package/export_api_to_bucket.dart b/app/lib/package/export_api_to_bucket.dart index 479205e1a3..3c24a529c9 100644 --- a/app/lib/package/export_api_to_bucket.dart +++ b/app/lib/package/export_api_to_bucket.dart @@ -275,12 +275,14 @@ class ApiExporter { if (md5Hash.length != info.md5Hash.length) { return false; } + // making sure the timing is fixed + var isSame = true; for (var i = 0; i < md5Hash.length; i++) { if (md5Hash[i] != info.md5Hash[i]) { - return false; + isSame = false; } } - return true; + return isSame; } }