mirror of
https://github.com/AU-COVIDSafe/mobile-ios.git
synced 2025-01-19 01:06:35 +00:00
24 lines
393 B
Swift
24 lines
393 B
Swift
|
//
|
||
|
// UITextViewFixed.swift
|
||
|
// CovidSafe
|
||
|
//
|
||
|
// Copyright © 2020 Australian Government. All rights reserved.
|
||
|
//
|
||
|
|
||
|
import UIKit
|
||
|
|
||
|
@IBDesignable
|
||
|
class UITextViewFixed: UITextView {
|
||
|
|
||
|
override func layoutSubviews() {
|
||
|
super.layoutSubviews()
|
||
|
setup()
|
||
|
}
|
||
|
|
||
|
func setup() {
|
||
|
textContainerInset = UIEdgeInsets.zero
|
||
|
textContainer.lineFragmentPadding = 0
|
||
|
}
|
||
|
|
||
|
}
|