[MISC] Fix OTP countdown circle (#1604)
On the method selection page previously the OTP option had a circle which gradually reduced in size and eventually reset, this was a intended to be a visual indicator for a time based OTP.pull/1595/head^2
parent
d92e4b94d6
commit
57c339bb96
|
@ -12,8 +12,8 @@ import {
|
|||
} from "@material-ui/core";
|
||||
|
||||
import FingerTouchIcon from "../../../components/FingerTouchIcon";
|
||||
import PieChartIcon from "../../../components/PieChartIcon";
|
||||
import PushNotificationIcon from "../../../components/PushNotificationIcon";
|
||||
import TimerIcon from "../../../components/TimerIcon";
|
||||
import { SecondFactorMethod } from "../../../models/Methods";
|
||||
|
||||
export interface Props {
|
||||
|
@ -30,14 +30,7 @@ const MethodSelectionDialog = function (props: Props) {
|
|||
const theme = useTheme();
|
||||
|
||||
const pieChartIcon = (
|
||||
<PieChartIcon
|
||||
width={24}
|
||||
height={24}
|
||||
maxProgress={1000}
|
||||
progress={150}
|
||||
color={theme.palette.primary.main}
|
||||
backgroundColor={"white"}
|
||||
/>
|
||||
<TimerIcon width={24} height={24} period={15} color={theme.palette.primary.main} backgroundColor={"white"} />
|
||||
);
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue