Remove timestamp from follow requests because it is the timestamp of account creation

main
Hank Grabowski 2023-11-30 17:56:41 -05:00
rodzic 9bce75e8f4
commit 6afd5eefad
1 zmienionych plików z 8 dodań i 6 usunięć

Wyświetl plik

@ -142,12 +142,14 @@ class NotificationControl extends StatelessWidget {
onTapUrl: (_) async => onTap!(),
),
),
subtitle: GestureDetector(
onTap: onTap,
child: Text(
ElapsedDateUtils.epochSecondsToString(notification.timestamp),
),
),
subtitle: notification.type == NotificationType.follow_request
? null
: GestureDetector(
onTap: onTap,
child: Text(
ElapsedDateUtils.epochSecondsToString(notification.timestamp),
),
),
trailing: notification.dismissed ||
notification.type == NotificationType.direct_message
? null