Skip to content

Commit 183c24b

Browse files
committed
Give path to lnd log when copying to local storage
1 parent 7fbe719 commit 183c24b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/windows/Settings/Settings.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ export default function Settings({ navigation }: ISettingsProps) {
218218
// Copy lnd log
219219
const copyLndLog = async () => {
220220
try {
221-
await NativeModules.LndMobileTools.copyLndLog();
222-
toast("Copied lnd log file.", undefined, "warning");
221+
const filePath = await NativeModules.LndMobileTools.copyLndLog();
222+
toast("Copied lnd log file to: " + filePath, undefined, "warning");
223223
} catch (e) {
224224
console.error(e);
225225
toast("Error copying lnd log file.", undefined, "danger");
@@ -1146,7 +1146,6 @@ Do you wish to proceed?`;
11461146
<Left><Icon style={style.icon} type="AntDesign" name="copy1" /></Left>
11471147
<Body>
11481148
<Text>Copy lnd log to local storage</Text>
1149-
<Text note={true}>Reached from /sdcard/BlixtWallet</Text>
11501149
</Body>
11511150
</ListItem>
11521151
}

0 commit comments

Comments
 (0)