Skip to content

Commit ab8886b

Browse files
committed
Resolves magnet link not showing in textbox on pasting from clipboard issue
1 parent f1289e4 commit ab8886b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/Components/bottom_floating_menu_button.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -486,9 +486,8 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
486486
FlutterClipboard.paste()
487487
.then((value) {
488488
setState(() {
489-
magnetUrlController =
490-
TextEditingController(
491-
text: value);
489+
magnetUrlController.text =
490+
value;
492491
});
493492
});
494493
},

0 commit comments

Comments
 (0)