Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit c5786fef authored by upintheairsheep's avatar upintheairsheep Committed by GitHub
Browse files

fix(demo): remove nonfunctioning reboot option

#534
parent 5cbf7639
Loading
Loading
Loading
Loading
+0 −18
Original line number Diff line number Diff line
@@ -123,24 +123,6 @@ const Power: NextPage = () => {
                    />
                </TooltipHost>
            </div>

            <div style={{ marginTop: 20 }}>
                <DefaultButton
                    text="Reboot to Factory"
                    disabled={!GLOBAL_STATE.device}
                    onClick={() => GLOBAL_STATE.device!.power.reboot("factory")}
                />
                <TooltipHost content={<span>Only works on some devices.</span>}>
                    <Icon
                        style={{
                            verticalAlign: "middle",
                            marginLeft: 4,
                            fontSize: 18,
                        }}
                        iconName={Icons.Info}
                    />
                </TooltipHost>
            </div>
        </Stack>
    );
};