Move attachment registration to RoomViewController

This commit is contained in:
aringenbach
2022-05-09 09:25:39 +02:00
parent 3879bc172b
commit 8ea29c9f5e
2 changed files with 14 additions and 5 deletions
@@ -59,11 +59,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
let window = UIWindow(frame: UIScreen.main.bounds)
self.window = window
// Register pills provider.
if #available(iOS 15.0, *) {
NSTextAttachment.registerViewProviderClass(PillAttachmentViewProvider.self, forFileType: StringPillsUtils.pillUTType)
}
// Create AppCoordinator
self.rootRouter = RootRouter(window: window)