mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
Update Riot/Modules/Room/Views/InputToolbar/RoomActionItem.swift
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
This commit is contained in:
@@ -18,13 +18,13 @@ import UIKit
|
||||
|
||||
@objcMembers
|
||||
@objc class RoomActionItem: NSObject {
|
||||
var image: UIImage!
|
||||
var action: (() -> Void)!
|
||||
let image: UIImage
|
||||
let action: (() -> Void)
|
||||
|
||||
init(image: UIImage, andAction action: @escaping () -> Void) {
|
||||
super.init()
|
||||
|
||||
self.image = image
|
||||
self.action = action
|
||||
|
||||
super.init()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user