mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2026-05-16 04:52:39 +02:00
Fix export dialog to close instead of auto-sharing when clicked outside
- Change default close action from 0 (share) to -1 (no action) - This prevents the dialog from automatically sharing when users click outside - Users must now explicitly choose Share or Save to Device to proceed - Improves user experience by preventing accidental sharing
This commit is contained in:
@@ -285,7 +285,7 @@ class PolycentricBackupActivity : AppCompatActivity() {
|
||||
getString(R.string.export_profile),
|
||||
getString(R.string.choose_export_option),
|
||||
null,
|
||||
0,
|
||||
-1,
|
||||
UIDialogs.Action(getString(R.string.share), {
|
||||
// Share the file
|
||||
val shareIntent = Intent(Intent.ACTION_SEND).apply {
|
||||
|
||||
Reference in New Issue
Block a user