Skip to content

Commit

Permalink
Fix issue with Settings search not triggering (#1088)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjiangsu authored Jan 28, 2024
1 parent 90fbcd2 commit 828254c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions lib/settings/pages/settings_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,15 @@ class SettingTopic {
SettingTopic({required this.title, required this.icon, required this.path});
}

class SettingsPage extends StatelessWidget {
final SearchController _searchController = SearchController();
class SettingsPage extends StatefulWidget {
const SettingsPage({super.key});

SettingsPage({super.key});
@override
State<SettingsPage> createState() => _SettingsPageState();
}

class _SettingsPageState extends State<SettingsPage> {
final SearchController _searchController = SearchController();

@override
Widget build(BuildContext context) {
Expand Down

0 comments on commit 828254c

Please sign in to comment.