mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-12 21:17:41 +08:00
Compare commits
3 Commits
release18
...
release18-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
96ea6d60e3 | ||
|
|
f9c365011b | ||
|
|
8ce5026778 |
@@ -811,8 +811,8 @@ class Utils {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
DateTime latest = DateTime.parse(res.data[0]['created_at']);
|
DateTime latest = DateTime.parse(res.data[0]['created_at']);
|
||||||
latest = latest.copyWith(hour: latest.hour + 8);
|
DateTime current = DateTime.parse('${BuildConfig.buildTime}Z');
|
||||||
DateTime current = DateTime.parse(BuildConfig.buildTime);
|
current = current.copyWith(hour: current.hour - 8);
|
||||||
if (current.compareTo(latest) < 0) {
|
if (current.compareTo(latest) < 0) {
|
||||||
SmartDialog.show(
|
SmartDialog.show(
|
||||||
animationType: SmartAnimationType.centerFade_otherSlide,
|
animationType: SmartAnimationType.centerFade_otherSlide,
|
||||||
|
|||||||
Reference in New Issue
Block a user