@@ -200,8 +200,7 @@ class ChatPageState extends State<ChatPage> {
200
200
child: Center (
201
201
child: CircularProgressIndicator (
202
202
color: ColorConstants .themeColor,
203
- value: loadingProgress.expectedTotalBytes != null &&
204
- loadingProgress.expectedTotalBytes != null
203
+ value: loadingProgress.expectedTotalBytes != null
205
204
? loadingProgress.cumulativeBytesLoaded / loadingProgress.expectedTotalBytes!
206
205
: null ,
207
206
),
@@ -272,8 +271,7 @@ class ChatPageState extends State<ChatPage> {
272
271
return Center (
273
272
child: CircularProgressIndicator (
274
273
color: ColorConstants .themeColor,
275
- value: loadingProgress.expectedTotalBytes != null &&
276
- loadingProgress.expectedTotalBytes != null
274
+ value: loadingProgress.expectedTotalBytes != null
277
275
? loadingProgress.cumulativeBytesLoaded / loadingProgress.expectedTotalBytes!
278
276
: null ,
279
277
),
@@ -329,8 +327,7 @@ class ChatPageState extends State<ChatPage> {
329
327
child: Center (
330
328
child: CircularProgressIndicator (
331
329
color: ColorConstants .themeColor,
332
- value: loadingProgress.expectedTotalBytes != null &&
333
- loadingProgress.expectedTotalBytes != null
330
+ value: loadingProgress.expectedTotalBytes != null
334
331
? loadingProgress.cumulativeBytesLoaded /
335
332
loadingProgress.expectedTotalBytes!
336
333
: null ,
0 commit comments