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!(), onTapUrl: (_) async => onTap!(),
), ),
), ),
subtitle: GestureDetector( subtitle: notification.type == NotificationType.follow_request
onTap: onTap, ? null
child: Text( : GestureDetector(
ElapsedDateUtils.epochSecondsToString(notification.timestamp), onTap: onTap,
), child: Text(
), ElapsedDateUtils.epochSecondsToString(notification.timestamp),
),
),
trailing: notification.dismissed || trailing: notification.dismissed ||
notification.type == NotificationType.direct_message notification.type == NotificationType.direct_message
? null ? null