Skip to content

Commit

Permalink
Expose setting only on Android for now
Browse files Browse the repository at this point in the history
  • Loading branch information
hsjoberg committed Jun 24, 2024
1 parent ec9f9a9 commit 4ba2f0a
Showing 1 changed file with 22 additions and 20 deletions.
42 changes: 22 additions & 20 deletions src/windows/Settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2888,26 +2888,28 @@ ${t("experimental.tor.disabled.msg2")}`;
<Text>Stop lnd</Text>
</Body>
</ListItem>
<ListItem
style={style.listItem}
icon={true}
onPress={onPressExportChannelDbAndBrickInstance}
>
<Left>
<Icon style={style.icon} type="MaterialCommunityIcons" name="file-export" />
</Left>
<Body>
<Text>
Export channel.db file and permanently disable this instance of Blixt Wallet
</Text>
<Text note={true}>
Use this feature to migrate this wallet to another device or to lnd.
</Text>
<Text note={true} style={{ color: blixtTheme.red }}>
Only do this if you're know what you're doing
</Text>
</Body>
</ListItem>
{PLATFORM === "android" && (
<ListItem
style={style.listItem}
icon={true}
onPress={onPressExportChannelDbAndBrickInstance}
>
<Left>
<Icon style={style.icon} type="MaterialCommunityIcons" name="file-export" />
</Left>
<Body>
<Text>
Export channel.db file and permanently disable this instance of Blixt Wallet
</Text>
<Text note={true}>
Use this feature to migrate this wallet to another device or to lnd.
</Text>
<Text note={true} style={{ color: blixtTheme.red }}>
Only do this if you're know what you're doing
</Text>
</Body>
</ListItem>
)}
<ListItem style={style.listItem} icon={true} onPress={onPressRestoreChannelBackup}>
<Left>
<Icon style={style.icon} type="MaterialCommunityIcons" name="file-export" />
Expand Down

0 comments on commit 4ba2f0a

Please sign in to comment.