Skip to content

Commit

Permalink
fix: expanding card
Browse files Browse the repository at this point in the history
  • Loading branch information
leo-lox committed Sep 23, 2023
1 parent e15cb26 commit 395db2d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/routes/nostr/profile/edit_profile_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,7 @@ class _EditProfilePageState extends ConsumerState<EditProfilePage> {
animationDuration: const Duration(milliseconds: 100),
expansionCallback: (int index, bool isExpanded) {
setState(() {
isExpanded = !isExpanded;
isKeysExpanded = isExpanded;
isKeysExpanded = !isKeysExpanded;
});
if (isKeysExpanded) {
// wait for expansion animation to finish
Expand Down

0 comments on commit 395db2d

Please sign in to comment.