Skip to content

Commit

Permalink
Show share dialog instantly
Browse files Browse the repository at this point in the history
  • Loading branch information
ShortDevelopment committed Nov 13, 2024
1 parent 37ea039 commit c07f837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SendActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ protected override void OnCreate(Bundle? savedInstanceState)
_dialog.Behavior.Draggable = false;
_dialog.Behavior.AddBottomSheetCallback(new FinishActivityBottomSheetCallback(this));
_dialog.Window?.ClearFlags(WindowManagerFlags.DimBehind);
_dialog.Show();

_dialog.FindViewById<ViewGroup>(Resource.Id.rootLayout)!.EnableLayoutTransition();

Expand Down Expand Up @@ -98,7 +99,6 @@ public override async void OnRequestPermissionsResult(int requestCode, string[]
try
{
await Task.Run(InitializePlatform);
_dialog.Show();
}
catch (Exception ex)
{
Expand Down

0 comments on commit c07f837

Please sign in to comment.