{ _t("App Store® and the Apple logo® are trademarks of Apple Inc.") }
+
{ _t("Google Play and the Google Play logo are trademarks of Google LLC.") }
+
+
+ );
+};
diff --git a/src/hooks/useUserOnboardingTasks.ts b/src/hooks/useUserOnboardingTasks.ts
index 41bd043463..daef154de0 100644
--- a/src/hooks/useUserOnboardingTasks.ts
+++ b/src/hooks/useUserOnboardingTasks.ts
@@ -16,11 +16,13 @@ limitations under the License.
import { useMemo } from "react";
+import { AppDownloadDialog } from "../components/views/dialogs/AppDownloadDialog";
import { UserTab } from "../components/views/dialogs/UserTab";
import { ButtonEvent } from "../components/views/elements/AccessibleButton";
import { Action } from "../dispatcher/actions";
import defaultDispatcher from "../dispatcher/dispatcher";
import { _t } from "../languageHandler";
+import Modal from "../Modal";
import { Notifier } from "../Notifier";
import PosthogTrackers from "../PosthogTrackers";
import { UseCase } from "../settings/enums/UseCase";
@@ -100,9 +102,9 @@ const tasks: InternalUserOnboardingTask[] = [
},
action: {
label: _t("Download apps"),
- href: "https://element.io/get-started#download",
onClick: (ev: ButtonEvent) => {
PosthogTrackers.trackInteraction("WebUserOnboardingTaskDownloadApps", ev);
+ Modal.createDialog(AppDownloadDialog, {}, "mx_AppDownloadDialog_wrapper", false, true);
},
},
},
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index 0c2ea59d5c..c14bf1dbf6 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -2454,6 +2454,15 @@
"We don't record or profile any account data": "We don't record or profile any account data",
"We don't share information with third parties": "We don't share information with third parties",
"You can turn this off anytime in settings": "You can turn this off anytime in settings",
+ "Download %(brand)s": "Download %(brand)s",
+ "Download %(brand)s Desktop": "Download %(brand)s Desktop",
+ "iOS": "iOS",
+ "Download on the App Store": "Download on the App Store",
+ "Android": "Android",
+ "Get it on Google Play": "Get it on Google Play",
+ "Get it on F-Droid": "Get it on F-Droid",
+ "App Store® and the Apple logo® are trademarks of Apple Inc.": "App Store® and the Apple logo® are trademarks of Apple Inc.",
+ "Google Play and the Google Play logo are trademarks of Google LLC.": "Google Play and the Google Play logo are trademarks of Google LLC.",
"The following users may not exist": "The following users may not exist",
"Unable to find profiles for the Matrix IDs listed below - would you like to invite them anyway?": "Unable to find profiles for the Matrix IDs listed below - would you like to invite them anyway?",
"Invite anyway and never warn me again": "Invite anyway and never warn me again",