Fixing crash #25

hh
Laurent 5 years ago
parent b7bd5ab64c
commit 380ec9f293
  1. 2
      app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/HandHistoryActivity.kt

@ -172,7 +172,7 @@ class HandHistoryActivity : BaseActivity() {
private fun videoExport() { private fun videoExport() {
val handHistoryId = intent.getStringExtra(IntentKey.IDENTIFIER.keyName) val handHistoryId = this.handHistory.id
this.replayExportService?.export(handHistoryId) ?: run { this.replayExportService?.export(handHistoryId) ?: run {
Toast.makeText(this, "Export service not available. Please contact support", Toast.LENGTH_LONG).show() Toast.makeText(this, "Export service not available. Please contact support", Toast.LENGTH_LONG).show()
} }

Loading…
Cancel
Save