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