DeepLMobile/DeepLMobile.Android/MainActivity.cs
/// <summary>
/// Loads the selected text if app is launched by selection toolbar
/// </summary>
Loads the selected text if app is launched by selection toolbar
Loads the selected text if app is launched by selection toolbar
private async void LoadSelectedTextAsync()
        {
            var text = Intent!.GetStringExtra("selectedText");
            if (!string.IsNullOrWhiteSpace(text))
            {
                await Clipboard.SetTextAsync(text);
            }
        }
private async void LoadSelectedTextAsync ( ) { var text = Intent ! . GetStringExtra ( " " ) ; if ( ! string . IsNullOrWhiteSpace ( text ) ) { await Clipboard . SetTextAsync ( text ) ; } }
Loads the selected text if app is launched by selection toolbar
Loads the selected text if app is launched by selection toolbar