fix: from reviewer
This commit is contained in:
parent
40e09fcbbb
commit
6f878abccb
|
@ -91,12 +91,8 @@ class _RecoveryKeyContentState extends State<RecoveryKeyContent> {
|
|||
const SizedBox(height: 16),
|
||||
AnimatedCrossFade(
|
||||
duration: const Duration(milliseconds: 300),
|
||||
firstChild: keyStatus.exists && !_isConfigurationVisible
|
||||
? RecoveryKeyInformation(state: keyStatus)
|
||||
: const SizedBox.shrink(),
|
||||
secondChild: _isConfigurationVisible || !keyStatus.exists
|
||||
? const RecoveryKeyConfiguration()
|
||||
: const SizedBox.shrink(),
|
||||
firstChild: RecoveryKeyInformation(state: keyStatus),
|
||||
secondChild: const RecoveryKeyConfiguration(),
|
||||
crossFadeState: _isConfigurationVisible || !keyStatus.exists
|
||||
? CrossFadeState.showSecond
|
||||
: CrossFadeState.showFirst,
|
||||
|
|
Loading…
Reference in New Issue