mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
[Layout Transition] Add default fade in / out layout transition (#2052)
* Add default fade in / out layout transition * Add example for layout transition * Update for recent layout transition API changes * To be able to do a layoutTransition the node needs to be loaded * Rename layoutTransitionDuration to defaultLayoutTransitionDuration * Expose default layout transition duration delay and options * Use `UIViewAnimationOptionBeginFromCurrentState` for initial defaultLayoutTransitionOptions
This commit is contained in:
committed by
Adlai Holler
parent
43370fe6ff
commit
adcc9afb5a
@@ -190,6 +190,8 @@
|
||||
};
|
||||
|
||||
// Intentionally trigger view creation
|
||||
[node view];
|
||||
[node1 view];
|
||||
[node2 view];
|
||||
|
||||
XCTestExpectation *expectation = [self expectationWithDescription:@"Fix IHM layout transition also if one node is already loaded"];
|
||||
|
||||
Reference in New Issue
Block a user