-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(llm): add settings row for wallet sync
- Loading branch information
1 parent
9edad05
commit 0d58a91
Showing
4 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"live-mobile": patch | ||
--- | ||
|
||
Add setting row under feature flag for wallet sync |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
apps/ledger-live-mobile/src/screens/Settings/General/WalletSyncRow.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React from "react"; | ||
import SettingsRow from "~/components/SettingsRow"; | ||
import { useTranslation } from "react-i18next"; | ||
|
||
const WalletSyncRow = () => { | ||
const { t } = useTranslation(); | ||
|
||
return ( | ||
<SettingsRow | ||
event="WalletSyncSettingsRow" | ||
title={t("settings.display.walletSync")} | ||
desc={t("settings.display.walletSyncDesc")} | ||
arrowRight | ||
onPress={() => null} | ||
testID="wallet-sync-button" | ||
/> | ||
); | ||
}; | ||
|
||
export default WalletSyncRow; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters