Compare commits

..

3 Commits

Author SHA1 Message Date
bggRGjQaUbCoE
96ea6d60e3 fix: #121
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-01-08 23:04:57 +08:00
bggRGjQaUbCoE
f9c365011b Revert "opt: msg badge"
This reverts commit 8ce5026778.
2025-01-08 22:04:54 +08:00
bggRGjQaUbCoE
8ce5026778 opt: msg badge
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-01-08 21:26:18 +08:00

View File

@@ -811,8 +811,8 @@ class Utils {
return;
}
DateTime latest = DateTime.parse(res.data[0]['created_at']);
latest = latest.copyWith(hour: latest.hour + 8);
DateTime current = DateTime.parse(BuildConfig.buildTime);
DateTime current = DateTime.parse('${BuildConfig.buildTime}Z');
current = current.copyWith(hour: current.hour - 8);
if (current.compareTo(latest) < 0) {
SmartDialog.show(
animationType: SmartAnimationType.centerFade_otherSlide,