Skip to content

Commit

Permalink
Give path to lnd log when copying to local storage
Browse files Browse the repository at this point in the history
  • Loading branch information
hsjoberg committed Nov 4, 2021
1 parent 7fbe719 commit 183c24b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/windows/Settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ export default function Settings({ navigation }: ISettingsProps) {
// Copy lnd log
const copyLndLog = async () => {
try {
await NativeModules.LndMobileTools.copyLndLog();
toast("Copied lnd log file.", undefined, "warning");
const filePath = await NativeModules.LndMobileTools.copyLndLog();
toast("Copied lnd log file to: " + filePath, undefined, "warning");
} catch (e) {
console.error(e);
toast("Error copying lnd log file.", undefined, "danger");
Expand Down Expand Up @@ -1146,7 +1146,6 @@ Do you wish to proceed?`;
<Left><Icon style={style.icon} type="AntDesign" name="copy1" /></Left>
<Body>
<Text>Copy lnd log to local storage</Text>
<Text note={true}>Reached from /sdcard/BlixtWallet</Text>
</Body>
</ListItem>
}
Expand Down

0 comments on commit 183c24b

Please sign in to comment.