diff options
Diffstat (limited to 'packages/renderer/src/components/locationBar/LocationTextField.tsx')
-rw-r--r-- | packages/renderer/src/components/locationBar/LocationTextField.tsx | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/packages/renderer/src/components/locationBar/LocationTextField.tsx b/packages/renderer/src/components/locationBar/LocationTextField.tsx index e711abc..3a4f7f5 100644 --- a/packages/renderer/src/components/locationBar/LocationTextField.tsx +++ b/packages/renderer/src/components/locationBar/LocationTextField.tsx | |||
@@ -26,9 +26,9 @@ import React, { useCallback, useEffect, useState } from 'react'; | |||
26 | 26 | ||
27 | import Service from '../../stores/Service'; | 27 | import Service from '../../stores/Service'; |
28 | 28 | ||
29 | import GoAdornment from './GoAdornment'; | 29 | import GoButton from './GoButton'; |
30 | import LocationOverlayInput from './LocationOverlayInput'; | 30 | import LocationOverlayInput from './LocationOverlayInput'; |
31 | import UrlAdornment from './UrlAdornment'; | 31 | import SecurityLabel from './SecurityLabel'; |
32 | import UrlOverlay from './UrlOverlay'; | 32 | import UrlOverlay from './UrlOverlay'; |
33 | import splitUrl from './splitUrl'; | 33 | import splitUrl from './splitUrl'; |
34 | 34 | ||
@@ -113,10 +113,16 @@ function LocationTextField({ | |||
113 | hiddenLabel | 113 | hiddenLabel |
114 | disableUnderline | 114 | disableUnderline |
115 | startAdornment={ | 115 | startAdornment={ |
116 | <UrlAdornment changed={changed} splitResult={splitResult} /> | 116 | <SecurityLabel |
117 | changed={changed} | ||
118 | splitResult={splitResult} | ||
119 | position="start" | ||
120 | /> | ||
117 | } | 121 | } |
118 | endAdornment={ | 122 | endAdornment={ |
119 | changed ? <GoAdornment onClick={() => service?.go(value)} /> : undefined | 123 | changed ? ( |
124 | <GoButton onClick={() => service?.go(value)} position="end" /> | ||
125 | ) : undefined | ||
120 | } | 126 | } |
121 | value={value} | 127 | value={value} |
122 | /> | 128 | /> |