mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2026-05-16 04:52:39 +02:00
Make export dialog buttons equal size
- Change both Share and Save to Device buttons to use ActionStyle.NONE - This creates two equal-sized buttons side by side instead of primary/secondary styling - Improves UI consistency and makes both options equally prominent - Users can now easily choose between sharing or saving without visual hierarchy bias
This commit is contained in:
@@ -296,7 +296,7 @@ class PolycentricBackupActivity : AppCompatActivity() {
|
|||||||
addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
|
addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
|
||||||
}
|
}
|
||||||
startActivity(Intent.createChooser(shareIntent, getString(R.string.share_profile)))
|
startActivity(Intent.createChooser(shareIntent, getString(R.string.share_profile)))
|
||||||
}, UIDialogs.ActionStyle.PRIMARY),
|
}, UIDialogs.ActionStyle.NONE),
|
||||||
UIDialogs.Action(getString(R.string.save_to_device), {
|
UIDialogs.Action(getString(R.string.save_to_device), {
|
||||||
// Save to device
|
// Save to device
|
||||||
saveToDevice(fileName)
|
saveToDevice(fileName)
|
||||||
|
|||||||
Reference in New Issue
Block a user