We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
visibilityPolicy
prepare
1 parent 1dc1808 commit 449f3d7Copy full SHA for 449f3d7
test/widgets/action_sheet_test.dart
@@ -119,6 +119,7 @@ void main() {
119
String topic = someTopic,
120
bool isChannelSubscribed = true,
121
bool? isChannelMuted,
122
+ UserTopicVisibilityPolicy? visibilityPolicy,
123
UnreadMessagesSnapshot? unreadMsgs,
124
int? zulipFeatureLevel,
125
}) async {
@@ -134,6 +135,9 @@ void main() {
134
135
subscriptions: isChannelSubscribed
136
? [eg.subscription(effectiveChannel, isMuted: isChannelMuted ?? false)]
137
: null,
138
+ userTopics: visibilityPolicy != null
139
+ ? [eg.userTopicItem(effectiveChannel, topic, visibilityPolicy)]
140
+ : null,
141
unreadMsgs: unreadMsgs,
142
zulipFeatureLevel: zulipFeatureLevel));
143
store = await testBinding.globalStore.perAccount(eg.selfAccount.id);
0 commit comments