We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d7d3e3a + 575523d commit a622ec3Copy full SHA for a622ec3
lib/authentication/view/request_code_page.dart
@@ -91,12 +91,7 @@ class _RequestCodeView extends StatelessWidget {
91
}
92
},
93
// BuildWhen prevents unnecessary rebuilds if only listening
94
- buildWhen: (previous, current) =>
95
- current.status != previous.status &&
96
- (current.status == AuthenticationStatus.initial ||
97
- current.status ==
98
- AuthenticationStatus.requestCodeInProgress ||
99
- current.status == AuthenticationStatus.failure),
+ buildWhen: (previous, current) => previous.status != current.status,
100
builder: (context, state) {
101
final isLoading =
102
state.status == AuthenticationStatus.requestCodeInProgress;
0 commit comments