mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-11-08 14:08:22 +01:00
fix open with bug
This commit is contained in:
parent
ebfa49254e
commit
78f09934d2
Binary file not shown.
@ -336,13 +336,14 @@ namespace OS {
|
||||
}
|
||||
const list = apps.map((e) => ({
|
||||
text: e.name,
|
||||
app: e.app,
|
||||
icon: e.icon,
|
||||
iconclass: e.iconclass,
|
||||
}));
|
||||
openDialog("SelectionDialog", {
|
||||
title: __("Open with"),
|
||||
data: list,
|
||||
}).then((d) => launch(d.text, [it]));
|
||||
}).then((d) => launch(d.app, [it]));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user