Skip to content

Commit

Permalink
Merge pull request #122 from fga-eps-mds/fix#71/corrige_bug
Browse files Browse the repository at this point in the history
fix(#71): corrige bug
  • Loading branch information
GabrielCostaDeOliveira authored Feb 9, 2025
2 parents f39f516 + 8829ab3 commit bc031b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ui/subjects/view/subjects_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ class _SubjectScreen extends StatelessWidget {
//final screenWidth = MediaQuery.of(context).size.width;
final screenHeight = MediaQuery.of(context).size.height;

viewModel.subjectCommand.execute(knowledgeId);

return RefreshIndicator(
onRefresh: () => viewModel.subjectCommand.execute(knowledgeId),
Expand Down Expand Up @@ -95,7 +96,6 @@ class _SubjectScreen extends StatelessWidget {

ListView _createListView(SubjectsViewmodel viewModel, double screenHeight) {

viewModel.subjectCommand.execute(knowledgeId);

return ListView.builder(
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 0),
Expand Down

0 comments on commit bc031b8

Please sign in to comment.