diff --git a/src/view/com/modals/ChangeHandle.tsx b/src/view/com/modals/ChangeHandle.tsx index 09d41825fe..a1226680e2 100644 --- a/src/view/com/modals/ChangeHandle.tsx +++ b/src/view/com/modals/ChangeHandle.tsx @@ -316,9 +316,9 @@ function CustomHandleForm({ // events // = const onPressCopy = React.useCallback(() => { - Clipboard.setString(`did=${store.me.did}`) + Clipboard.setString(isDNSForm ? `did=${store.me.did}` : store.me.did) Toast.show('Copied to clipboard') - }, [store.me.did]) + }, [store.me.did, isDNSForm]) const onChangeHandle = React.useCallback( (v: string) => { setHandle(v) @@ -410,11 +410,11 @@ function CustomHandleForm({ {isDNSForm ? ( <> - Add the following record to your domain: + Add the following DNS record to your domain: - Domain: + Host: