From 380ec9f293484fe5573b2e7dd6b1e9d23f3c0fcc Mon Sep 17 00:00:00 2001 From: Laurent Date: Wed, 24 Jun 2020 12:23:50 +0200 Subject: [PATCH] Fixing crash #25 --- .../android/ui/modules/handhistory/HandHistoryActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/HandHistoryActivity.kt b/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/HandHistoryActivity.kt index 84a9aaa8..769416a1 100644 --- a/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/HandHistoryActivity.kt +++ b/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/HandHistoryActivity.kt @@ -172,7 +172,7 @@ class HandHistoryActivity : BaseActivity() { private fun videoExport() { - val handHistoryId = intent.getStringExtra(IntentKey.IDENTIFIER.keyName) + val handHistoryId = this.handHistory.id this.replayExportService?.export(handHistoryId) ?: run { Toast.makeText(this, "Export service not available. Please contact support", Toast.LENGTH_LONG).show() }