Make scan qr code as default option during 2FA setup
Scanning qr code is more user friendly & (arguably) preferred choice for majority
This commit is contained in:
parent
4f5755b5af
commit
a015cf2152
|
@ -91,10 +91,10 @@ class _TwoFactorSetupPageState extends State<TwoFactorSetupPage>
|
|||
unselectedLabelColor: Colors.grey,
|
||||
tabs: [
|
||||
Tab(
|
||||
text: "enter code",
|
||||
text: "scan code",
|
||||
),
|
||||
Tab(
|
||||
text: "scan code",
|
||||
text: "enter code",
|
||||
)
|
||||
],
|
||||
controller: _tabController,
|
||||
|
@ -103,8 +103,8 @@ class _TwoFactorSetupPageState extends State<TwoFactorSetupPage>
|
|||
Expanded(
|
||||
child: TabBarView(
|
||||
children: [
|
||||
_getSecretCode(),
|
||||
_getBarCode(),
|
||||
_getSecretCode(),
|
||||
],
|
||||
controller: _tabController,
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue