-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Add custom location attachment to the Demo App (#2947)"
This reverts commit a26f3c2.
- Loading branch information
1 parent
804b42a
commit 1814daa
Showing
24 changed files
with
54 additions
and
616 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// | ||
// Copyright © 2023 Stream.io Inc. All rights reserved. | ||
// | ||
|
||
import UIKit | ||
|
||
class MainButton: UIButton { | ||
override func updateConstraints() { | ||
super.updateConstraints() | ||
translatesAutoresizingMaskIntoConstraints = false | ||
} | ||
|
||
override func layoutSubviews() { | ||
super.layoutSubviews() | ||
clipsToBounds = true | ||
layer.cornerRadius = bounds.height / 2.0 | ||
} | ||
} | ||
|
||
class AdvancedOptionsViewController: UIViewController { | ||
@IBOutlet var mainStackView: UIStackView! { | ||
didSet { | ||
mainStackView.preservesSuperviewLayoutMargins = true | ||
mainStackView.isLayoutMarginsRelativeArrangement = true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
DemoApp/StreamChat/Components/CustomAttachments/DemoAttachmentViewCatalog.swift
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
DemoApp/StreamChat/Components/CustomAttachments/DemoChatMessageListVC.swift
This file was deleted.
Oops, something went wrong.
56 changes: 0 additions & 56 deletions
56
DemoApp/StreamChat/Components/CustomAttachments/DemoComposerVC.swift
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
DemoApp/StreamChat/Components/CustomAttachments/DemoQuotedChatMessageView.swift
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
...stomAttachments/LocationAttachment/LocationAttachmentPayload+AttachmentViewProvider.swift
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
...treamChat/Components/CustomAttachments/LocationAttachment/LocationAttachmentPayload.swift
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.