chore: when igc has matches, make send button color disabled instead of red (#4185)
This commit is contained in:
parent
d1f840eb60
commit
2a71193b71
1 changed files with 1 additions and 2 deletions
|
|
@ -20,12 +20,11 @@ extension AssistanceStateExtension on AssistanceState {
|
|||
switch (this) {
|
||||
case AssistanceState.noSub:
|
||||
case AssistanceState.noMessage:
|
||||
case AssistanceState.fetched:
|
||||
return Theme.of(context).disabledColor;
|
||||
case AssistanceState.notFetched:
|
||||
case AssistanceState.fetching:
|
||||
return Theme.of(context).colorScheme.primary;
|
||||
case AssistanceState.fetched:
|
||||
return AppConfig.error;
|
||||
case AssistanceState.complete:
|
||||
return AppConfig.success;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue