diff --git a/src/mobile-app/components/sensor.tsx b/src/mobile-app/components/sensor.tsx index 4b8aec1..33344a4 100644 --- a/src/mobile-app/components/sensor.tsx +++ b/src/mobile-app/components/sensor.tsx @@ -223,7 +223,7 @@ export const SensorComponent: React.FC = ({sensor, manual {manualEntryMode && canSwitchModes ? Sensor Mode : <> - {connected ? Disconnect : Connect} + {connected ? Disconnect : Connect} {canSwitchModes ? Edit Mode : undefined} } diff --git a/src/shared/components/icon.tsx b/src/shared/components/icon.tsx index 4155b3f..1908cdd 100644 --- a/src/shared/components/icon.tsx +++ b/src/shared/components/icon.tsx @@ -22,6 +22,7 @@ import ReRecordDataTrial from "../icons/re-record-data-trial.svg"; import StopDataTrial from "../icons/stop-data-trial.svg"; import DeleteDataTrial from "../icons/delete-data-trial.svg"; import More from "../icons/more-button.svg"; +import Disconnect from "../icons/sensor-disconnect.svg"; const Icons = { label: Label, @@ -46,7 +47,8 @@ const Icons = { reRecordDataTrial: ReRecordDataTrial, stopDataTrial: StopDataTrial, deleteDataTrial: DeleteDataTrial, - more: More + more: More, + disconnect: Disconnect }; export type IconName = keyof typeof Icons; diff --git a/src/shared/icons/sensor-disconnect.svg b/src/shared/icons/sensor-disconnect.svg new file mode 100644 index 0000000..5365b83 --- /dev/null +++ b/src/shared/icons/sensor-disconnect.svg @@ -0,0 +1,3 @@ + + +