From ab8886b312e3212e34b40e19b2a64f8f70c8cfd8 Mon Sep 17 00:00:00 2001 From: Akshatji800 Date: Sat, 27 May 2023 20:10:59 +0530 Subject: [PATCH] Resolves magnet link not showing in textbox on pasting from clipboard issue --- lib/Components/bottom_floating_menu_button.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/Components/bottom_floating_menu_button.dart b/lib/Components/bottom_floating_menu_button.dart index c010c912..256b19f8 100644 --- a/lib/Components/bottom_floating_menu_button.dart +++ b/lib/Components/bottom_floating_menu_button.dart @@ -486,9 +486,8 @@ class _BottomFloatingMenuButtonState extends State FlutterClipboard.paste() .then((value) { setState(() { - magnetUrlController = - TextEditingController( - text: value); + magnetUrlController.text = + value; }); }); },