Add "DownloadManagement" app feature for use in NativeShell clients (#6833)
* Add "DownloadManagement" app feature for use in NativeShell clients * Address review feedback * Address review feedback (round 2)
This commit is contained in:
@@ -15,6 +15,11 @@ export default {
|
||||
window.NativeShell.openClientSettings();
|
||||
}
|
||||
},
|
||||
openDownloadManager: () => {
|
||||
if (window.NativeShell?.openDownloadManager) {
|
||||
window.NativeShell.openDownloadManager();
|
||||
}
|
||||
},
|
||||
openUrl: function(url, target) {
|
||||
if (window.NativeShell?.openUrl) {
|
||||
window.NativeShell.openUrl(url, target);
|
||||
|
||||
Reference in New Issue
Block a user