mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
* Ensure NotificationsManager has dependencies Otherwise it's easy to mess up the order of the required dependencies. * move AccountManager into Environment, it's heavy to construct // FREEBIE
15 lines
319 B
Swift
15 lines
319 B
Swift
// Created by Michael Kirk on 12/11/16.
|
|
// Copyright © 2016 Open Whisper Systems. All rights reserved.
|
|
|
|
import UIKit
|
|
|
|
@IBDesignable
|
|
class AvatarImageView: UIImageView {
|
|
|
|
override func layoutSubviews() {
|
|
self.layer.masksToBounds = true
|
|
self.layer.cornerRadius = self.frame.size.width / 2
|
|
}
|
|
|
|
}
|