Skip to content

Commit 9e6cd62

Browse files
committed
update some more screens
1 parent 63e342c commit 9e6cd62

File tree

8 files changed

+7
-9
lines changed

8 files changed

+7
-9
lines changed

packages/docs_screenshots/test/channel/channel_preview_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ void main() {
2323
messages: [
2424
Message(
2525
id: 'msg-1',
26-
text: 'Hey everyone! 👋',
26+
text: 'Hey everyone!',
2727
user: User(id: 'user-2', name: 'Bob'),
2828
createdAt: DateTime(2024, 6, 1, 10, 30),
2929
),
-188 Bytes
Loading
-50 Bytes
Loading
-412 Bytes
Loading
-55 Bytes
Loading

packages/docs_screenshots/test/message_list/message_list_view_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ List<Message> _buildMessages({bool withPinned = false, bool withThreads = false}
2020
),
2121
Message(
2222
id: 'msg-2',
23-
text: 'Doing great, thanks! 😊',
23+
text: 'Doing great, thanks!',
2424
user: _currentUser,
2525
createdAt: DateTime(2024, 6, 1, 10, 1),
2626
),
2727
if (withPinned)
2828
Message(
2929
id: 'msg-pinned',
30-
text: 'This is an important announcement 📌',
30+
text: 'This is an important announcement',
3131
user: _otherUser,
3232
createdAt: DateTime(2024, 6, 1, 10, 2),
3333
pinned: true,
-486 Bytes
Loading

packages/docs_screenshots/test/polls/poll_test.dart

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ void main() {
1616
builder: () {
1717
final client = MockClient();
1818

19-
2019
final controller = StreamPollController(
2120
poll: Poll(
2221
id: 'poll-1',
@@ -54,7 +53,6 @@ void main() {
5453
builder: () {
5554
final client = MockClient();
5655

57-
5856
final currentUser = User(id: 'user-1', name: 'Alice');
5957

6058
final poll = Poll(
@@ -117,10 +115,10 @@ void main() {
117115
poll: Poll(
118116
id: 'poll-3',
119117
name: 'Pizza or Tacos for the team lunch?',
120-
options: [
121-
const PollOption(id: 'p1', text: 'Pizza 🍕'),
122-
const PollOption(id: 'p2', text: 'Tacos 🌮'),
123-
const PollOption(id: 'p3', text: 'Both!'),
118+
options: const [
119+
PollOption(id: 'p1', text: 'Pizza'),
120+
PollOption(id: 'p2', text: 'Tacos'),
121+
PollOption(id: 'p3', text: 'Both!'),
124122
],
125123
),
126124
);

0 commit comments

Comments
 (0)