Skip to content

Commit 505931d

Browse files
committed
action_sheet [nfc]: Remove the custom modal sheet we no longer use
1 parent 9eec92b commit 505931d

File tree

2 files changed

+3
-119
lines changed

2 files changed

+3
-119
lines changed

lib/widgets/draggable_scrollable_modal_bottom_sheet.dart

Lines changed: 0 additions & 118 deletions
This file was deleted.

test/widgets/action_sheet_test.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,8 @@ void main() {
623623
.evaluate().length).equals(isShown ? 1 : 0);
624624
check(find.text(zulipLocalizations.actionSheetOptionQuoteAndReply)
625625
.evaluate().length).equals(isShown ? 1 : 0);
626+
check(find.text(zulipLocalizations.actionSheetOptionMarkAsUnread)
627+
.evaluate().length).equals(isShown ? 1 : 0);
626628
check(find.text(zulipLocalizations.actionSheetOptionCopyMessageText)
627629
.evaluate().length).equals(isShown ? 1 : 0);
628630
check(find.text(zulipLocalizations.actionSheetOptionCopyMessageLink)
@@ -634,7 +636,7 @@ void main() {
634636
}
635637

636638
testWidgets('pressing the button dismisses the action sheet', (tester) async {
637-
final message = eg.streamMessage();
639+
final message = eg.streamMessage(flags: [MessageFlag.read]);
638640
await setupToMessageActionSheet(tester, message: message, narrow: TopicNarrow.ofMessage(message));
639641
checkActionSheet(tester, isShown: true);
640642

0 commit comments

Comments
 (0)