Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add safe area insets for decoration views #660

Merged
merged 1 commit into from
Jul 31, 2020

Conversation

wiruzx
Copy link
Contributor

@wiruzx wiruzx commented Jul 29, 2020

  • Decoration views now have ability to change safe area, so content could adjust accordingly
  • Layout for text messages is now done via layout provider instead of passing textInsets

self.tailWidth = tailWidth
self.isIncoming = isIncoming
}

public func hash(into hasher: inout Hasher) {
hasher.combine(self.layoutProviders.map { $0.asHashable })
hasher.combine(self.layoutProviders.map(\.asHashable))
hasher.combine(self.layoutProviders.map(\.asHashable))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, check

@wiruzx wiruzx force-pushed the decoration-safe-area-insets branch from 1795cdb to 5836ce0 Compare July 29, 2020 15:21
@wiruzx wiruzx force-pushed the decoration-safe-area-insets branch from 5836ce0 to 24d1c95 Compare July 29, 2020 16:32
@codecov-commenter
Copy link

codecov-commenter commented Jul 29, 2020

Codecov Report

Merging #660 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #660   +/-   ##
=======================================
  Coverage   73.38%   73.38%           
=======================================
  Files          19       19           
  Lines        1236     1236           
=======================================
  Hits          907      907           
  Misses        329      329           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6379644...24d1c95. Read the comment docs.

@wiruzx wiruzx merged commit 83075fa into master Jul 31, 2020
@wiruzx wiruzx deleted the decoration-safe-area-insets branch July 31, 2020 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants