fix: update grant type state management to ensure UI refresh on change

This commit is contained in:
Udhay-Adithya
2025-09-01 16:29:52 +05:30
parent 6eec8de39b
commit 6fc2dcee1e

View File

@@ -145,7 +145,9 @@ class _OAuth2FieldsState extends ConsumerState<OAuth2Fields> {
? null
: (OAuth2GrantType? newGrantType) {
if (newGrantType != null && newGrantType != _grantType) {
setState(() {
_grantType = newGrantType;
});
_updateOAuth2();
}