fix: long list scaffold

This commit is contained in:
Rongjian Zhang
2021-06-05 13:54:52 +08:00
parent af52d55af9
commit 17b6fd5d78
7 changed files with 32 additions and 34 deletions

View File

@@ -166,7 +166,7 @@ class GithubNotificationItemSubject {
int? _number;
int? get number {
if (_number == null) {
_number = int.parse(url?.split('/')?.last ?? '0');
_number = int.parse(url?.split('/').last ?? '0');
}
return _number;
}