mirror of
https://github.com/Livinglist/Hacki.git
synced 2025-08-14 01:58:29 +08:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
a6b1888637 | |||
1408b7343a | |||
bedc3b66ec |
@ -401,7 +401,8 @@ class HackerNewsWebRepository with Loggable {
|
|||||||
/// Get comment age.
|
/// Get comment age.
|
||||||
final Element? cmtAgeElement =
|
final Element? cmtAgeElement =
|
||||||
element.querySelector(_commentAgeSelector);
|
element.querySelector(_commentAgeSelector);
|
||||||
final String? ageString = cmtAgeElement?.attributes['title'];
|
final String? ageString =
|
||||||
|
cmtAgeElement?.attributes['title']?.split(' ').firstOrNull;
|
||||||
|
|
||||||
final int? timestamp = ageString == null
|
final int? timestamp = ageString == null
|
||||||
? null
|
? null
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: hacki
|
name: hacki
|
||||||
description: A Hacker News reader.
|
description: A Hacker News reader.
|
||||||
version: 2.9.4+152
|
version: 2.9.5+153
|
||||||
publish_to: none
|
publish_to: none
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
Reference in New Issue
Block a user