diff options
author | William <william@darn.fish> | 2023-08-02 10:56:47 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-02 09:56:47 -0700 |
commit | 7256169506332c7935ced4e0babcbd07159b9402 (patch) | |
tree | b36a29ff124c1834b6240f8ce04a69547f3e9c22 /src | |
parent | f33fdb97b69ede09c58d571e9ec918da7b335858 (diff) | |
download | voidsky-7256169506332c7935ced4e0babcbd07159b9402.tar.zst |
Change button based on option (#1077)
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/modals/ChangeHandle.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/view/com/modals/ChangeHandle.tsx b/src/view/com/modals/ChangeHandle.tsx index a6010906c..0b9707622 100644 --- a/src/view/com/modals/ChangeHandle.tsx +++ b/src/view/com/modals/ChangeHandle.tsx @@ -493,7 +493,9 @@ function CustomHandleForm({ <ActivityIndicator color="white" /> ) : ( <Text type="xl-medium" style={[s.white, s.textCenter]}> - {canSave ? `Update to ${handle}` : 'Verify DNS Record'} + {canSave + ? `Update to ${handle}` + : `Verify ${isDNSForm ? 'DNS Record' : 'Text File'}`} </Text> )} </Button> |