Minor fixes
This commit is contained in:
parent
1a364a75f3
commit
541cdec4ca
|
@ -79,9 +79,11 @@ class MessageContent extends StatelessWidget {
|
|||
case EventTypes.Text:
|
||||
case EventTypes.Reply:
|
||||
case EventTypes.Notice:
|
||||
String senderPrefix = event.senderId == Matrix.of(context).client.userID
|
||||
? "You: "
|
||||
: "${event.sender.calcDisplayname()}: ";
|
||||
final String senderPrefix = textOnly
|
||||
? event.senderId == Matrix.of(context).client.userID
|
||||
? "You: "
|
||||
: "${event.sender.calcDisplayname()}: "
|
||||
: "";
|
||||
return Text(
|
||||
senderPrefix + event.getBody(),
|
||||
maxLines: maxLines,
|
||||
|
|
|
@ -62,9 +62,9 @@ class ChatTime {
|
|||
case 3:
|
||||
return "Wednesday";
|
||||
case 4:
|
||||
return "Donnerstag";
|
||||
case 5:
|
||||
return "Thursday";
|
||||
case 5:
|
||||
return "Friday";
|
||||
case 6:
|
||||
return "Saturday";
|
||||
case 7:
|
||||
|
|
|
@ -11,7 +11,7 @@ description: Chat with your friends.
|
|||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||
# Read more about iOS versioning at
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
version: 0.1.2+3
|
||||
version: 0.1.3+4
|
||||
|
||||
environment:
|
||||
sdk: ">=2.1.0 <3.0.0"
|
||||
|
|
Loading…
Reference in a new issue