<commit_before>//
//  FeedTableViewCell.swift
//  Tempo
//
//  Created by <NAME> on 3/22/15.
//  Copyright (c) 2015 CUAppDev. All rights reserved.
//

import UIKit

class FeedTableViewCell: UITableViewCell {
	
    @IBOutlet var postView: PostView!
    @IBOutlet weak var initialsView: UIView!
    @IBOutlet weak var initialsLabel: UILabel!
    @IBOutlet weak var separator: UIView!
    @IBOutlet weak var separatorHeight: NSLayoutConstraint!
    @IBOutlet weak var imageViewWidthConstraint: NSLayoutConstraint!
    @IBOutlet weak var imageViewTopConstraint: NSLayoutConstraint!
    @IBOutlet weak var likeButtonBottomConstraint: NSLayoutConstraint!
    
	override func awakeFromNib() {
		super.awakeFromNib()
		
		postView.backgroundColor = .unreadCellColor
		separator.backgroundColor = .readCellColor
		separatorHeight.constant = 1
	}
	
	func setUpCell(firstName: String, lastName: String) {
		initialsLabel.text = setUserInitials(firstName: firstName, lastName: firstName)
	}
	
	func setUpPostHistoryCell() {
		postView.dateLabel!.isHidden = true
		postView.avatarImageView?.layer.cornerRadius = 0
		imageViewWidthConstraint.constant = 60
		imageViewTopConstraint.constant = 25
		likeButtonBottomConstraint.constant = 48.5
	}
}
<commit_msg>Fix wrong initials on Feed cells<commit_after>//
//  FeedTableViewCell.swift
//  Tempo
//
//  Created by <NAME> on 3/22/15.
//  Copyright (c) 2015 CUAppDev. All rights reserved.
//

import UIKit

class FeedTableViewCell: UITableViewCell {
	
    @IBOutlet var postView: PostView!
    @IBOutlet weak var initialsView: UIView!
    @IBOutlet weak var initialsLabel: UILabel!
    @IBOutlet weak var separator: UIView!
    @IBOutlet weak var separatorHeight: NSLayoutConstraint!
    @IBOutlet weak var imageViewWidthConstraint: NSLayoutConstraint!
    @IBOutlet weak var imageViewTopConstraint: NSLayoutConstraint!
    @IBOutlet weak var likeButtonBottomConstraint: NSLayoutConstraint!
    
	override func awakeFromNib() {
		super.awakeFromNib()
		
		postView.backgroundColor = .unreadCellColor
		separator.backgroundColor = .readCellColor
		separatorHeight.constant = 1
	}
	
	func setUpCell(firstName: String, lastName: String) {
		initialsLabel.text = setUserInitials(firstName: firstName, lastName: lastName)
	}
	
	func setUpPostHistoryCell() {
		postView.dateLabel!.isHidden = true
		postView.avatarImageView?.layer.cornerRadius = 0
		imageViewWidthConstraint.constant = 60
		imageViewTopConstraint.constant = 25
		likeButtonBottomConstraint.constant = 48.5
	}
}

{'fraction_non_alphanumeric': 0.08226837060702875, 'fraction_numerical': 0.01437699680511182, 'mean_word_length': 4.422077922077922, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5267707', 'n_tokens_mistral': 854, 'n_tokens_neox': 758, 'n_words': 187}