Skip to content

Commit

Permalink
Fix sharing URL
Browse files Browse the repository at this point in the history
  • Loading branch information
levinli303 committed Apr 25, 2023
1 parent 3727583 commit 8815f6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:installLocation="auto"
android:versionCode="362"
android:versionName="1.5.21">
android:versionCode="370"
android:versionName="1.5.22">

<uses-feature android:name="android.hardware.type.pc" android:required="false" />
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1925,7 +1925,7 @@ class MainActivity : AppCompatActivity(R.layout.activity_main),

private fun shareURL() = lifecycleScope.launch {
val urlAndName = withContext(executor.asCoroutineDispatcher()) { Pair(appCore.currentURL, appCore.simulation.universe.getNameForSelection(appCore.simulation.selection)) }
shareURLDirect(urlAndName.first, urlAndName.second)
shareURLDirect(urlAndName.second, urlAndName.first)
}

private fun shareImage() = lifecycleScope.launch {
Expand Down

0 comments on commit 8815f6e

Please sign in to comment.