Fixed ios related bugs, removed unimplemented actions to comply with apple guidelines
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../../../api/marianumcloud/talk/getReactions/getReactions.dart';
|
||||
@ -54,9 +55,12 @@ class _MessageReactionsState extends State<MessageReactions> {
|
||||
leading: const CenteredLeading(Icon(Icons.person)),
|
||||
title: Text(e.actorDisplayName),
|
||||
subtitle: isSelf ? const Text("Du") : e.actorType == GetReactionsResponseObjectActorType.guests ? const Text("Gast") : null,
|
||||
trailing: isSelf ? null : IconButton(
|
||||
onPressed: () => UnimplementedDialog.show(context),
|
||||
icon: const Icon(Icons.textsms_outlined),
|
||||
trailing: isSelf ? null : Visibility(
|
||||
visible: kReleaseMode,
|
||||
child: IconButton(
|
||||
onPressed: () => UnimplementedDialog.show(context),
|
||||
icon: const Icon(Icons.textsms_outlined),
|
||||
),
|
||||
),
|
||||
);
|
||||
}).toList(),
|
||||
|
Reference in New Issue
Block a user