impl option remote modification

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2022-08-30 16:50:25 +08:00
parent 839be76b8f
commit 38abd27384
9 changed files with 109 additions and 33 deletions

View File

@@ -37,7 +37,7 @@ class _FileManagerTabPageState extends State<FileManagerTabPage> {
@override
void initState() {
super.initState();
tabController.onRemove = (_, id) => onRemoveId(id);
rustDeskWinManager.setMethodHandler((call, fromWindowId) async {
@@ -74,9 +74,9 @@ class _FileManagerTabPageState extends State<FileManagerTabPage> {
body: DesktopTab(
controller: tabController,
theme: theme,
isMainWindow: false,
tabType: DesktopTabType.fileTransfer,
onClose: () {
tabController.clear();
tabController.clear();
},
tail: AddButton(
theme: theme,