From 1bd587684518c44576dd15294274b749e9157298 Mon Sep 17 00:00:00 2001 From: Laurent Date: Wed, 30 Nov 2022 13:47:15 +0100 Subject: [PATCH] Add comment --- .../ui/modules/handhistory/replayer/ReplayExportService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/replayer/ReplayExportService.kt b/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/replayer/ReplayExportService.kt index a60a7e9a..cc0b9f5c 100644 --- a/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/replayer/ReplayExportService.kt +++ b/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/replayer/ReplayExportService.kt @@ -297,7 +297,7 @@ class ReplayExportService : Service() { CoroutineScope(Dispatchers.Default).launch { val realm = Realm.getDefaultInstance() - realm.refresh() + realm.refresh() // Fixes crash right below val handHistory = realm.findById(handHistoryId) ?: throw PAIllegalStateException("HandHistory not found, id: $handHistoryId")