mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
Samples maintenance (#435)
This commit is contained in:
@@ -40,7 +40,7 @@ class CookbookScraper {
|
||||
var description = page.querySelectorAll('main>.container>p').first.text;
|
||||
|
||||
var urlSegments = Uri.parse(url).pathSegments;
|
||||
var category = urlSegments[urlSegments.length-2];
|
||||
var category = urlSegments[urlSegments.length - 2];
|
||||
|
||||
return Sample(
|
||||
name: name,
|
||||
|
||||
Reference in New Issue
Block a user