|
@@ -75,7 +75,7 @@ export function getDeepLinkingPage(state) {
|
75
|
75
|
return Promise.resolve();
|
76
|
76
|
}
|
77
|
77
|
|
78
|
|
- return _openDesktopApp().then(
|
|
78
|
+ return _openDesktopApp(state).then(
|
79
|
79
|
// eslint-disable-next-line no-confusing-arrow
|
80
|
80
|
result => result ? DeepLinkingDesktopPage : undefined);
|
81
|
81
|
}
|
|
@@ -83,9 +83,10 @@ export function getDeepLinkingPage(state) {
|
83
|
83
|
/**
|
84
|
84
|
* Opens the desktop app.
|
85
|
85
|
*
|
|
86
|
+ * @param {Object} state - Object containing current redux state.
|
86
|
87
|
* @returns {Promise<boolean>} - Resolves with true if the attempt to open the desktop app was successful and resolves
|
87
|
88
|
* with false otherwise.
|
88
|
89
|
*/
|
89
|
|
-export function openDesktopApp() {
|
90
|
|
- return _openDesktopApp();
|
|
90
|
+export function openDesktopApp(state) {
|
|
91
|
+ return _openDesktopApp(state);
|
91
|
92
|
}
|