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!(),
|
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
|
||||||
|
|
Ładowanie…
Reference in New Issue