Skip to content

Commit

Permalink
fix(#59): Corrige BUG no requestbutton
Browse files Browse the repository at this point in the history
Co-authored-by: Yasm1nNasc1smento <[email protected]>
Co-authored-by: isabellaChoukaira <[email protected]>
  • Loading branch information
3 people committed Jan 10, 2025
1 parent f5973f6 commit 1871121
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/core/state/command.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ abstract class Command<T> extends ChangeNotifier {
}
}

//
class Command0<T> extends Command<T> {
final Future<Result<T>> Function() action;

Expand Down
1 change: 1 addition & 0 deletions lib/ui/edit_profile/view/edit_profile_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ class EditProfileScreen extends StatelessWidget {
]);
}

//
Widget _saveButton(BuildContext context, EditProfileViewModel viewModel) {
return Requestbutton(
command: viewModel.editCommand,
Expand Down

0 comments on commit 1871121

Please sign in to comment.