ios: Fix gitDefaultBranch

This commit is contained in:
Vishesh Handa
2021-01-19 15:36:24 +01:00
parent e46898cc5a
commit 1baa803443

View File

@ -55,6 +55,11 @@ static FlutterMethodChannel* gitChannel = 0;
[self handleMethodCallAsync:call result:result];
});
}
else if ([@"gitDefaultBranch" isEqualToString:method]) {
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
[self handleMethodCallAsync:call result:result];
});
}
else if ([@"gitAdd" isEqualToString:method]) {
NSString *folderPath = arguments[@"folderPath"];
NSString *filePattern = arguments[@"filePattern"];