Skip to content

Commit 447ae4a

Browse files
committed
Fix search
1 parent cdaf1f4 commit 447ae4a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/screens/SearchScreen.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -825,9 +825,9 @@ class _SearchScreenState extends State<SearchScreen> with SingleTickerProviderSt
825825
color: Colors.transparent,
826826
child: InkWell(
827827
onTap: () {
828-
if (result.url.isNotEmpty) {
828+
if (result.seriesUrl.isNotEmpty) {
829829
HapticFeedback.mediumImpact();
830-
_launchUrl(result.url);
830+
_launchUrl(result.seriesUrl);
831831
}
832832
},
833833
borderRadius: BorderRadius.circular(16),
@@ -999,9 +999,9 @@ class _SearchScreenState extends State<SearchScreen> with SingleTickerProviderSt
999999
splashColor: primaryColor.withOpacity(0.1),
10001000
highlightColor: primaryColor.withOpacity(0.05),
10011001
onTap: () {
1002-
if (result.url.isNotEmpty) {
1002+
if (result.seriesUrl.isNotEmpty) {
10031003
HapticFeedback.mediumImpact();
1004-
_launchUrl(result.url);
1004+
_launchUrl(result.seriesUrl);
10051005
}
10061006
},
10071007
borderRadius: BorderRadius.circular(16),

0 commit comments

Comments
 (0)