mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2026-05-16 04:52:39 +02:00
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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user