@@ -220,28 +220,33 @@ class SubscriptionItem extends StatelessWidget {
220
220
},
221
221
child: Row (crossAxisAlignment: CrossAxisAlignment .center, children: [
222
222
const SizedBox (width: 16 ),
223
- Padding (
224
- padding: const EdgeInsets .symmetric (vertical: 11 ),
225
- child: Icon (size: 18 , color: swatch.iconOnPlainBackground,
226
- iconDataForStream (subscription))),
227
- const SizedBox (width: 5 ),
228
223
Expanded (
229
- child: Padding (
230
- padding: const EdgeInsets .symmetric (vertical: 10 ),
231
- // TODO(design): unclear whether bold text is applied to all subscriptions
232
- // or only those with unreads:
233
- // https://github.com/zulip/zulip-flutter/pull/397#pullrequestreview-1742524205
234
- child: Text (
235
- style: const TextStyle (
236
- fontSize: 18 ,
237
- height: (20 / 18 ),
238
- // TODO(#95) need dark-theme color
239
- color: Color (0xFF262626 ),
240
- ).merge (weightVariableTextStyle (context,
241
- wght: hasUnreads ? 600 : null )),
242
- maxLines: 1 ,
243
- overflow: TextOverflow .ellipsis,
244
- subscription.name))),
224
+ child: Opacity (
225
+ opacity: subscription.isMuted ? 0.55 : 1 ,
226
+ child: Row (
227
+ children: [
228
+ Padding (
229
+ padding: const EdgeInsets .symmetric (vertical: 11 ),
230
+ child: Icon (size: 18 , color: swatch.iconOnPlainBackground,
231
+ iconDataForStream (subscription))),
232
+ const SizedBox (width: 5 ),
233
+ Expanded (
234
+ child: Padding (
235
+ padding: const EdgeInsets .symmetric (vertical: 10 ),
236
+ // TODO(design): unclear whether bold text is applied to all subscriptions
237
+ // or only those with unreads:
238
+ // https://github.com/zulip/zulip-flutter/pull/397#pullrequestreview-1742524205
239
+ child: Text (
240
+ style: const TextStyle (
241
+ fontSize: 18 ,
242
+ height: (20 / 18 ),
243
+ // TODO(#95) need dark-theme color
244
+ color: Color (0xFF262626 ),
245
+ ).merge (weightVariableTextStyle (context,
246
+ wght: hasUnreads ? 600 : null )),
247
+ maxLines: 1 ,
248
+ overflow: TextOverflow .ellipsis,
249
+ subscription.name)))]))),
245
250
if (unreadCount > 0 ) ...[
246
251
const SizedBox (width: 12 ),
247
252
// TODO(#747) show @-mention indicator when it applies
0 commit comments