Skip to content

Commit

Permalink
Fix use of tag in GetWidget
Browse files Browse the repository at this point in the history
  • Loading branch information
na2axl committed Sep 11, 2020
1 parent 2f7642e commit e058227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/state_manager/simple/get_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ abstract class GetWidget<T> extends StatelessWidget {
final String tag = null;
T get controller {
if (_value.isEmpty) _value.add(GetInstance().find<T>());
if (_value.isEmpty) _value.add(GetInstance().find<T>(tag: tag));
return _value.first;
}
Expand Down

0 comments on commit e058227

Please sign in to comment.