mirror of
https://github.com/wgh136/pixes.git
synced 2025-09-27 04:57:23 +00:00
fix #6
This commit is contained in:
@@ -420,6 +420,19 @@ class _SearchSettingsState extends State<SearchSettings> {
|
||||
}))
|
||||
.toList(),
|
||||
)),
|
||||
const SizedBox(height: 4),
|
||||
Center(
|
||||
child: Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
const Icon(FluentIcons.info, size: 16),
|
||||
const SizedBox(
|
||||
width: 4,
|
||||
),
|
||||
Text("Close the pane to apply the settings".tl)
|
||||
],
|
||||
),
|
||||
),
|
||||
SizedBox(
|
||||
height: context.padding.bottom,
|
||||
)
|
||||
@@ -457,6 +470,12 @@ class _SearchResultPageState
|
||||
|
||||
late final controller = TextEditingController(text: widget.keyword);
|
||||
|
||||
@override
|
||||
void reset() {
|
||||
nextUrl = null;
|
||||
super.reset();
|
||||
}
|
||||
|
||||
void search() {
|
||||
if (keyword != oldKeyword) {
|
||||
oldKeyword = keyword;
|
||||
|
Reference in New Issue
Block a user