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';
4
4
import '../api/model/narrow.dart' ;
5
5
import 'narrow.dart' ;
6
6
import 'store.dart' ;
7
+ import 'stream.dart' ;
7
8
8
9
part 'internal_link.g.dart' ;
9
10
@@ -238,7 +239,7 @@ enum _NarrowOperator {
238
239
///
239
240
/// Returns null if the operand has an unexpected shape, or has the old shape
240
241
/// (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) {
242
243
// "New" (2018) format: ${stream_id}-${stream_name} .
243
244
final match = RegExp (r'^(\d+)(?:-.*)?$' ).firstMatch (operand);
244
245
final newFormatStreamId = (match != null ) ? int .parse (match.group (1 )! , radix: 10 ) : null ;
You can’t perform that action at this time.
0 commit comments