mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-15 21:23:17 +00:00
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),
|
const SizedBox(height: 16),
|
||||||
AnimatedCrossFade(
|
AnimatedCrossFade(
|
||||||
duration: const Duration(milliseconds: 300),
|
duration: const Duration(milliseconds: 300),
|
||||||
firstChild: keyStatus.exists && !_isConfigurationVisible
|
firstChild: RecoveryKeyInformation(state: keyStatus),
|
||||||
? RecoveryKeyInformation(state: keyStatus)
|
secondChild: const RecoveryKeyConfiguration(),
|
||||||
: const SizedBox.shrink(),
|
|
||||||
secondChild: _isConfigurationVisible || !keyStatus.exists
|
|
||||||
? const RecoveryKeyConfiguration()
|
|
||||||
: const SizedBox.shrink(),
|
|
||||||
crossFadeState: _isConfigurationVisible || !keyStatus.exists
|
crossFadeState: _isConfigurationVisible || !keyStatus.exists
|
||||||
? CrossFadeState.showSecond
|
? CrossFadeState.showSecond
|
||||||
: CrossFadeState.showFirst,
|
: CrossFadeState.showFirst,
|
||||||
|
|
Loading…
Reference in a new issue