From 177d5bc11e26ab4a84358f11b02b8bf52dba09ea Mon Sep 17 00:00:00 2001 From: James Acklin Date: Tue, 9 Mar 2021 21:05:49 -0500 Subject: [PATCH] top bar: fall back to preexisting status control fixes urbit/landscape#531 --- .../apps/profile/components/SetStatus.tsx | 31 +------------------ .../src/views/components/StatusBar.js | 10 +++--- 2 files changed, 7 insertions(+), 34 deletions(-) diff --git a/pkg/interface/src/views/apps/profile/components/SetStatus.tsx b/pkg/interface/src/views/apps/profile/components/SetStatus.tsx index a22f82845..a19ca2253 100644 --- a/pkg/interface/src/views/apps/profile/components/SetStatus.tsx +++ b/pkg/interface/src/views/apps/profile/components/SetStatus.tsx @@ -13,7 +13,7 @@ import { } from '@tlon/indigo-react'; export function SetStatus(props: any) { - const { contact, ship, api, callback, smallControl } = props; + const { contact, ship, api, callback } = props; const inputRef = useRef(null); const [_status, setStatus] = useState(''); const onStatusChange = useCallback( @@ -35,35 +35,6 @@ export function SetStatus(props: any) { } }; - if (smallControl) { - return ( - <> - - - Set Status: - - - - { - editStatus(); - }} - onKeyPress={(evt) => { - if (evt.key === 'Enter') { - editStatus(); - } - }} - /> - - - ); - } - return ( { System Preferences - + Set Status: + +