fix: shrink lemma SVG in work zoom card (#1559)

pull/1593/head
ggurdin 10 months ago committed by GitHub
parent 1d8e68a147
commit 723e28a314
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,13 +1,14 @@
import 'package:flutter/material.dart';
import 'package:matrix/matrix.dart';
import 'package:swipe_to_action/swipe_to_action.dart';
import 'package:fluffychat/config/themes.dart';
import 'package:fluffychat/pages/chat/chat.dart';
import 'package:fluffychat/pages/chat/events/message_content.dart';
import 'package:fluffychat/pangea/events/event_wrappers/pangea_message_event.dart';
import 'package:fluffychat/utils/date_time_extension.dart';
import 'package:fluffychat/widgets/matrix.dart';
import 'package:flutter/material.dart';
import 'package:matrix/matrix.dart';
import 'package:swipe_to_action/swipe_to_action.dart';
import '../../../config/app_config.dart';
class ActivityPlanMessage extends StatelessWidget {

@ -17,12 +17,13 @@ class LemmaWidget extends StatelessWidget {
return Padding(
padding: const EdgeInsets.all(4.0),
child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(token.lemma.text),
const SizedBox(width: 6),
SizedBox(
width: 30,
height: 30,
width: 20,
height: 20,
child: CustomizedSvg(
svgUrl: token.lemmaXPCategory.svgURL,
colorReplacements: const {},

Loading…
Cancel
Save