From 8815f6ed8778f369af967a9b506baf08cdc3bcea Mon Sep 17 00:00:00 2001 From: Levin Li Date: Tue, 25 Apr 2023 12:51:30 +0800 Subject: [PATCH] Fix sharing URL --- app/src/main/AndroidManifest.xml | 4 ++-- .../main/java/space/celestia/mobilecelestia/MainActivity.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 8c7ae909..2e20c9dd 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -13,8 +13,8 @@ + android:versionCode="370" + android:versionName="1.5.22"> diff --git a/app/src/main/java/space/celestia/mobilecelestia/MainActivity.kt b/app/src/main/java/space/celestia/mobilecelestia/MainActivity.kt index a8d7baec..805f2bff 100644 --- a/app/src/main/java/space/celestia/mobilecelestia/MainActivity.kt +++ b/app/src/main/java/space/celestia/mobilecelestia/MainActivity.kt @@ -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 {