File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import 'package:json_annotation/json_annotation.dart';
44import '../api/model/narrow.dart' ;
55import 'narrow.dart' ;
66import 'store.dart' ;
7+ import 'stream.dart' ;
78
89part 'internal_link.g.dart' ;
910
@@ -238,7 +239,7 @@ enum _NarrowOperator {
238239///
239240/// Returns null if the operand has an unexpected shape, or has the old shape
240241/// (stream name but no ID) and we don't know of a stream by the given name.
241- int ? _parseStreamOperand (String operand, PerAccountStore store) {
242+ int ? _parseStreamOperand (String operand, StreamStore store) {
242243 // "New" (2018) format: ${stream_id}-${stream_name} .
243244 final match = RegExp (r'^(\d+)(?:-.*)?$' ).firstMatch (operand);
244245 final newFormatStreamId = (match != null ) ? int .parse (match.group (1 )! , radix: 10 ) : null ;
You can’t perform that action at this time.
0 commit comments