mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
speeding up the bloom a bit
This commit is contained in:
@@ -103,7 +103,7 @@ struct HomeScreen: View {
|
|||||||
let isHidden = isTopController || isSearching
|
let isHidden = isTopController || isSearching
|
||||||
if let bloomView {
|
if let bloomView {
|
||||||
bloomView.isHidden = isHidden
|
bloomView.isHidden = isHidden
|
||||||
UIView.transition(with: bloomView, duration: 2.0, options: .curveEaseInOut) {
|
UIView.transition(with: bloomView, duration: 1.75, options: .curveEaseInOut) {
|
||||||
bloomView.alpha = isTopController ? 0 : 1
|
bloomView.alpha = isTopController ? 0 : 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user