|
|
|
|
@ -1,8 +1,4 @@
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
|
|
import 'package:collection/collection.dart';
|
|
|
|
|
import 'package:flutter_gen/gen_l10n/l10n.dart';
|
|
|
|
|
|
|
|
|
|
import 'package:fluffychat/config/app_config.dart';
|
|
|
|
|
import 'package:fluffychat/pangea/analytics_misc/construct_identifier.dart';
|
|
|
|
|
import 'package:fluffychat/pangea/analytics_misc/construct_level_enum.dart';
|
|
|
|
|
@ -11,7 +7,11 @@ import 'package:fluffychat/pangea/analytics_misc/construct_use_model.dart';
|
|
|
|
|
import 'package:fluffychat/pangea/morphs/get_grammar_copy.dart';
|
|
|
|
|
import 'package:fluffychat/pangea/morphs/morph_icon.dart';
|
|
|
|
|
import 'package:fluffychat/pangea/morphs/morph_models.dart';
|
|
|
|
|
import 'package:fluffychat/pangea/user/client_extension.dart';
|
|
|
|
|
import 'package:fluffychat/widgets/matrix.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:flutter_gen/gen_l10n/l10n.dart';
|
|
|
|
|
|
|
|
|
|
import '../morphs/morph_repo.dart';
|
|
|
|
|
|
|
|
|
|
class MorphAnalyticsView extends StatelessWidget {
|
|
|
|
|
@ -190,7 +190,8 @@ class MorphTagChip extends StatelessWidget {
|
|
|
|
|
SizedBox(
|
|
|
|
|
width: 28.0,
|
|
|
|
|
height: 28.0,
|
|
|
|
|
child: constructAnalytics.points > 0
|
|
|
|
|
child: constructAnalytics.points > 0 ||
|
|
|
|
|
Matrix.of(context).client.isSupportAccount
|
|
|
|
|
? MorphIcon(
|
|
|
|
|
morphFeature: morphFeature,
|
|
|
|
|
morphTag: morphTag,
|
|
|
|
|
|