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