Skip to content

Commit

Permalink
search ai type
Browse files Browse the repository at this point in the history
  • Loading branch information
Notsfsssf committed Apr 14, 2024
1 parent 901b2cb commit 3ec4dbc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/page/search/result_illust_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,12 @@ class _ResultIllustListState extends State<ResultIllustList> {
),
),
SwitchListTile(
value: true,
onChanged: (v) {},
value: searchAIType != 1,
onChanged: (v) {
setS(() {
searchAIType = !v ? 1 : 0;
});
},
title: Text(I18n.of(context).ai_generated),
),
Container(
Expand Down

0 comments on commit 3ec4dbc

Please sign in to comment.