forked from shadowfacts/Tusker
Make notification cells subclasses of UICollectionViewListCell
This commit is contained in:
parent
8e010c7fa5
commit
63612b2fb0
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue