kopia lustrzana https://gitlab.com/mysocialportal/relatica
Remove timestamp from follow requests because it is the timestamp of account creation
rodzic
9bce75e8f4
commit
6afd5eefad
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue