forked from firka/student-legacy
someone commented birthday greeting, fuck yourself
This commit is contained in:
parent
4b127bdf56
commit
a7f1681902
@ -112,16 +112,16 @@ class _HomePageState extends State<HomePage> with TickerProviderStateMixin {
|
||||
Future.delayed(const Duration(seconds: 1))
|
||||
.then((value) => mounted ? _confettiController?.play() : null);
|
||||
}
|
||||
// } else if (now.month == user.student?.birth.month &&
|
||||
// now.day == user.student?.birth.day) {
|
||||
// greeting = "happybirthday";
|
||||
} else if (now.month == user.student?.birth.month &&
|
||||
now.day == user.student?.birth.day) {
|
||||
greeting = "happybirthday";
|
||||
|
||||
// if (NavigationScreen.of(context)?.init("confetti") ?? false) {
|
||||
// _confettiController =
|
||||
// ConfettiController(duration: const Duration(seconds: 3));
|
||||
// Future.delayed(const Duration(seconds: 1))
|
||||
// .then((value) => mounted ? _confettiController?.play() : null);
|
||||
// }
|
||||
if (NavigationScreen.of(context)?.init("confetti") ?? false) {
|
||||
_confettiController =
|
||||
ConfettiController(duration: const Duration(seconds: 3));
|
||||
Future.delayed(const Duration(seconds: 1))
|
||||
.then((value) => mounted ? _confettiController?.play() : null);
|
||||
}
|
||||
} else if (now.isAfter(DateTime(now.year, DateTime.may, 28)) &&
|
||||
now.isBefore(DateTime(now.year, DateTime.may, 30))) {
|
||||
greeting = "refilcopen";
|
||||
|
Loading…
x
Reference in New Issue
Block a user