From 42040e5f3d967ae21cbecb5226fa47d911df1807 Mon Sep 17 00:00:00 2001 From: Trevor Date: Wed, 20 Aug 2025 10:52:28 -0500 Subject: [PATCH] Center the export dialog buttons - Add center: true parameter to both Share and Save to Device Action constructors - This centers the buttons horizontally in the dialog layout - Buttons are now both equal size and properly centered for better visual balance - Improves the overall UI appearance and user experience --- .../platformplayer/activities/PolycentricBackupActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/futo/platformplayer/activities/PolycentricBackupActivity.kt b/app/src/main/java/com/futo/platformplayer/activities/PolycentricBackupActivity.kt index 140fa0ef..0585cb77 100644 --- a/app/src/main/java/com/futo/platformplayer/activities/PolycentricBackupActivity.kt +++ b/app/src/main/java/com/futo/platformplayer/activities/PolycentricBackupActivity.kt @@ -296,11 +296,11 @@ class PolycentricBackupActivity : AppCompatActivity() { addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION) } startActivity(Intent.createChooser(shareIntent, getString(R.string.share_profile))) - }, UIDialogs.ActionStyle.NONE), + }, UIDialogs.ActionStyle.NONE, true), UIDialogs.Action(getString(R.string.save_to_device), { // Save to device saveToDevice(fileName) - }, UIDialogs.ActionStyle.NONE) + }, UIDialogs.ActionStyle.NONE, true) ) } catch (e: Exception) { Logger.e(TAG, "Failed to export to file", e)