feat: Add animation to the recovery key screen #410

Merged
inex merged 3 commits from add_animation_recovery_menu into master 2023-12-26 11:28:53 +02:00
Collaborator
https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/164
def added 1 commit 2023-12-20 03:23:08 +02:00
def force-pushed add_animation_recovery_menu from 30d372b45a to 40e09fcbbb 2023-12-20 03:24:05 +02:00 Compare
def requested review from inex 2023-12-20 03:25:40 +02:00
def requested review from NaiJi 2023-12-20 03:25:40 +02:00
def self-assigned this 2023-12-20 03:25:46 +02:00
def added the
Feature request
Severity
Low
labels 2023-12-20 03:26:53 +02:00
NaiJi requested changes 2023-12-20 14:44:38 +02:00
@ -96,0 +94,4 @@
firstChild: keyStatus.exists && !_isConfigurationVisible
? RecoveryKeyInformation(state: keyStatus)
: const SizedBox.shrink(),
secondChild: _isConfigurationVisible || !keyStatus.exists
Collaborator

You already check the condition in crossFadeState.

. . . 
        AnimatedCrossFade(
          duration: const Duration(milliseconds: 300),
          firstChild: RecoveryKeyInformation(state: keyStatus),
          secondChild: const RecoveryKeyConfiguration(),
          crossFadeState: _isConfigurationVisible || !keyStatus.exists
              ? CrossFadeState.showSecond
              : CrossFadeState.showFirst,
        ),
        

https://api.flutter.dev/flutter/widgets/AnimatedCrossFade-class.html

You already check the condition in `crossFadeState`. ``` . . . AnimatedCrossFade( duration: const Duration(milliseconds: 300), firstChild: RecoveryKeyInformation(state: keyStatus), secondChild: const RecoveryKeyConfiguration(), crossFadeState: _isConfigurationVisible || !keyStatus.exists ? CrossFadeState.showSecond : CrossFadeState.showFirst, ), ``` https://api.flutter.dev/flutter/widgets/AnimatedCrossFade-class.html
Poster
Collaborator

done thx

done thx
NaiJi marked this conversation as resolved
def added 1 commit 2023-12-22 03:36:46 +02:00
def added 1 commit 2023-12-22 03:36:51 +02:00
def requested review from NaiJi 2023-12-22 03:36:54 +02:00
NaiJi approved these changes 2023-12-22 12:20:25 +02:00
def scheduled this pull request to auto merge when all checks succeed 2023-12-22 21:04:36 +02:00
def scheduled this pull request to auto merge when all checks succeed 2023-12-22 21:04:47 +02:00
def changed title from feat: add animation recovery menu to feat: add animation to recovery menu buttons 2023-12-22 21:21:57 +02:00
def changed title from feat: add animation to recovery menu buttons to feat: add animation to restore key menu 2023-12-22 21:24:37 +02:00
inex canceled auto merging this pull request when all checks succeed 2023-12-26 11:27:43 +02:00
inex changed title from feat: add animation to restore key menu to feat: Add animation to the recovery key screen 2023-12-26 11:28:06 +02:00
inex approved these changes 2023-12-26 11:28:21 +02:00
inex merged commit d7bf6a0c06 into master 2023-12-26 11:28:53 +02:00
inex deleted branch add_animation_recovery_menu 2023-12-26 11:28:53 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SelfPrivacy/selfprivacy.org.app#410
There is no content yet.