mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-20 06:08:34 +02:00
fix: Implement totp on exchange to external ticket as well as update UI properly when a preset is selected (#1156)
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
This commit is contained in:
co-authored by
OmarHatem
parent
d997ee81a1
commit
9aede1f3c1
@@ -133,6 +133,17 @@ class _2FAControlsWidget extends StatelessWidget {
|
||||
},
|
||||
),
|
||||
StandardListSeparator(padding: EdgeInsets.symmetric(horizontal: 24)),
|
||||
Observer(
|
||||
builder: (context) {
|
||||
return SettingsSwitcherCell(
|
||||
title: S.current.require_for_exchanges_to_external_wallets,
|
||||
value: setup2FAViewModel.shouldRequireTOTP2FAForExchangesToExternalWallets,
|
||||
onValueChange: (context, value) async =>
|
||||
setup2FAViewModel.switchShouldRequireTOTP2FAForExchangesToExternalWallets(value),
|
||||
);
|
||||
},
|
||||
),
|
||||
StandardListSeparator(padding: EdgeInsets.symmetric(horizontal: 24)),
|
||||
Observer(
|
||||
builder: (context) {
|
||||
return SettingsSwitcherCell(
|
||||
|
||||
Reference in New Issue
Block a user