theme switching color fixes

This commit is contained in:
julian 2023-02-06 15:45:00 -06:00
parent 05934e28d9
commit a94feef80e

View file

@ -763,6 +763,8 @@ class _ExchangeFormState extends ConsumerState<ExchangeForm> {
height: isDesktop ? 10 : 4,
),
ExchangeTextField(
key: Key(
"exchangeTextFieldKeyFor_${Theme.of(context).extension<StackColors>()!.themeType.name}"),
controller: _sendController,
focusNode: _sendFocusNode,
textStyle: STextStyles.smallMed14(context).copyWith(
@ -851,6 +853,8 @@ class _ExchangeFormState extends ConsumerState<ExchangeForm> {
height: isDesktop ? 10 : 7,
),
ExchangeTextField(
key: Key(
"exchangeTextFieldKeyFor1_${Theme.of(context).extension<StackColors>()!.themeType.name}"),
focusNode: _receiveFocusNode,
controller: _receiveController,
textStyle: STextStyles.smallMed14(context).copyWith(
@ -897,6 +901,7 @@ class _ExchangeFormState extends ConsumerState<ExchangeForm> {
SizedBox(
height: 60,
child: RateTypeToggle(
key: UniqueKey(),
onChanged: onRateTypeChanged,
),
),