Animation API improvements (#21540)
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
// Override point for customization after application launch.
|
||||
FlutterViewController* controller = (FlutterViewController*)self.window.rootViewController;
|
||||
FlutterMethodChannel* flavorChannel = [FlutterMethodChannel methodChannelWithName:@"flavor" binaryMessenger:controller];
|
||||
|
||||
|
||||
[flavorChannel setMethodCallHandler:^(FlutterMethodCall *call, FlutterResult result) {
|
||||
NSString* flavor = (NSString*)[[NSBundle mainBundle].infoDictionary valueForKey:@"Flavor"];
|
||||
result(flavor);
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
- (nullable UIViewController *)popViewControllerAnimated:(BOOL)animated {
|
||||
FlutterViewController* root = (FlutterViewController*)[self.viewControllers objectAtIndex:0];
|
||||
|
||||
|
||||
FlutterBasicMessageChannel* messageChannel =
|
||||
[FlutterBasicMessageChannel messageChannelWithName:@"navigation-test"
|
||||
binaryMessenger:root
|
||||
|
||||
Reference in New Issue
Block a user