fix choice array background color

This commit is contained in:
ggurdin 2025-11-04 15:15:21 -05:00
parent 9f30e26a2a
commit 5c95a4c62b
No known key found for this signature in database
GPG key ID: A01CB41737CBB478
3 changed files with 8 additions and 9 deletions

View file

@ -403,9 +403,12 @@ class ChatView extends StatelessWidget {
alignment: Alignment.center,
child: Material(
clipBehavior: Clip.hardEdge,
color: controller.selectedEvents.isNotEmpty
? theme.colorScheme.tertiaryContainer
: theme.colorScheme.surfaceContainerHigh,
// #Pangea
// color: controller.selectedEvents.isNotEmpty
// ? theme.colorScheme.tertiaryContainer
// : theme.colorScheme.surfaceContainerHigh,
color: theme.colorScheme.surfaceContainerHigh,
// Pangea#
borderRadius: const BorderRadius.all(
Radius.circular(24),
),

View file

@ -146,10 +146,8 @@ class ChoiceItem extends StatelessWidget {
horizontal: 8,
vertical: 4,
),
backgroundColor: isSelected
? (entry.value.color?.withAlpha(50) ??
theme.colorScheme.primary.withAlpha(10))
: null,
backgroundColor: entry.value.color?.withAlpha(50) ??
theme.colorScheme.primary.withAlpha(10),
textStyle: BotStyle.text(context),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(AppConfig.borderRadius),

View file

@ -187,8 +187,6 @@ class PracticeSelection {
activityTokens.add(t);
}
debugPrint("TOKENS: ${activityTokens.map((e) => e.text.content).toList()}");
return [
PracticeTarget(
activityType: activityType,