File tree Expand file tree Collapse file tree 5 files changed +16
-5
lines changed Expand file tree Collapse file tree 5 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,18 @@ class ChatMessage extends StatelessWidget {
117
117
child: Column (
118
118
crossAxisAlignment: CrossAxisAlignment .start,
119
119
children: [
120
- Text (ircMessage.tags['system-msg' ]! ),
120
+ if (ircMessage.tags.containsKey ('system-msg' )) Text (ircMessage.tags['system-msg' ]! ),
121
+ if (ircMessage.tags.containsKey ('msg-id' ) && ircMessage.tags['msg-id' ] == 'announcement' )
122
+ Row (
123
+ children: const [
124
+ Icon (Icons .announcement),
125
+ SizedBox (width: 5.0 ),
126
+ Text (
127
+ 'Announcement' ,
128
+ style: TextStyle (fontWeight: FontWeight .bold),
129
+ ),
130
+ ],
131
+ ),
121
132
const SizedBox (height: 5.0 ),
122
133
if (ircMessage.message != null )
123
134
Observer (
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ class _ChatSettingsState extends State<ChatSettings> {
57
57
SwitchListTile .adaptive (
58
58
isThreeLine: true ,
59
59
title: const Text ('Readable Name Colors' ),
60
- subtitle: const Text ('Adjusts the lightness value of overly bright/ dark names.' ),
60
+ subtitle: const Text ('Adjusts the lightness value of overly bright or dark names.' ),
61
61
value: settingsStore.useReadableColors,
62
62
onChanged: (newValue) => settingsStore.useReadableColors = newValue,
63
63
),
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class ProfilePicture extends StatelessWidget {
23
23
return CircleAvatar (
24
24
radius: radius,
25
25
backgroundColor: Colors .transparent,
26
- foregroundImage: snapshot.hasData && snapshot.data != null ? CachedNetworkImageProvider (snapshot.data! .profileImageUrl) : null ,
26
+ foregroundImage: ! snapshot.hasError && snapshot.hasData ? CachedNetworkImageProvider (snapshot.data! .profileImageUrl) : null ,
27
27
);
28
28
},
29
29
);
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ packages:
264
264
name: flutter_native_splash
265
265
url: "https://pub.dartlang.org"
266
266
source: hosted
267
- version: "2.1.2 +1"
267
+ version: "2.1.3 +1"
268
268
flutter_secure_storage:
269
269
dependency: "direct main"
270
270
description:
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
15
15
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
16
16
# Read more about iOS versioning at
17
17
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
18
- version : 1.2.0+18
18
+ version : 1.2.1+19
19
19
20
20
environment :
21
21
sdk : " >=2.15.0 <3.0.0"
You can’t perform that action at this time.
0 commit comments