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