File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
lib/screens/home_page/editor_pane Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ class URLTextField extends ConsumerWidget {
70
70
71
71
@override
72
72
Widget build (BuildContext context, WidgetRef ref) {
73
- final activeId = ref.watch (activeIdStateProvider );
73
+ final selectedId = ref.watch (selectedIdStateProvider );
74
74
return Focus (
75
75
autofocus: true ,
76
76
child: KeyboardListener (
@@ -80,19 +80,19 @@ class URLTextField extends ConsumerWidget {
80
80
event.logicalKey == LogicalKeyboardKey .enter) {
81
81
ref
82
82
.read (collectionStateNotifierProvider.notifier)
83
- .sendRequest (activeId );
83
+ .sendRequest (selectedId );
84
84
}
85
85
},
86
86
child: URLField (
87
- activeId : activeId ! ,
87
+ selectedId : selectedId ! ,
88
88
initialValue: ref
89
89
.read (collectionStateNotifierProvider.notifier)
90
- .getRequestModel (activeId )
90
+ .getRequestModel (selectedId )
91
91
? .url,
92
92
onChanged: (value) {
93
93
ref
94
94
.read (collectionStateNotifierProvider.notifier)
95
- .update (activeId , url: value);
95
+ .update (selectedId , url: value);
96
96
},
97
97
),
98
98
));
You can’t perform that action at this time.
0 commit comments