Make notification cells subclasses of UICollectionViewListCell

This commit is contained in:
Shadowfacts 2023-05-07 16:35:01 -04:00
parent 8e010c7fa5
commit 63612b2fb0
5 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ import UIKit
import Pachyderm
import SwiftSoup
class ActionNotificationGroupCollectionViewCell: UICollectionViewCell {
class ActionNotificationGroupCollectionViewCell: UICollectionViewListCell {
private let iconView = UIImageView().configure {
$0.tintColor = UIColor(red: 1, green: 204/255, blue: 0, alpha: 1)

View File

@ -9,7 +9,7 @@
import UIKit
import Pachyderm
class FollowNotificationGroupCollectionViewCell: UICollectionViewCell {
class FollowNotificationGroupCollectionViewCell: UICollectionViewListCell {
private let iconView = UIImageView(image: UIImage(systemName: "person.fill.badge.plus")).configure {
$0.contentMode = .scaleAspectFit

View File

@ -9,7 +9,7 @@
import UIKit
import Pachyderm
class FollowRequestNotificationCollectionViewCell: UICollectionViewCell {
class FollowRequestNotificationCollectionViewCell: UICollectionViewListCell {
private let iconView = UIImageView(image: UIImage(systemName: "person.fill")).configure {
$0.contentMode = .scaleAspectFit

View File

@ -10,7 +10,7 @@ import UIKit
import Pachyderm
import SwiftSoup
class PollFinishedNotificationCollectionViewCell: UICollectionViewCell {
class PollFinishedNotificationCollectionViewCell: UICollectionViewListCell {
private let iconView = UIImageView(image: UIImage(systemName: "checkmark.square.fill")).configure {
$0.contentMode = .scaleAspectFit

View File

@ -10,7 +10,7 @@ import UIKit
import Pachyderm
import SwiftSoup
class StatusUpdatedNotificationCollectionViewCell: UICollectionViewCell {
class StatusUpdatedNotificationCollectionViewCell: UICollectionViewListCell {
private let iconView = UIImageView(image: UIImage(systemName: "pencil")).configure {
$0.contentMode = .scaleAspectFit