mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-27 09:06:43 +08:00
ios: Fix gitDefaultBranch
This commit is contained in:
@ -55,6 +55,11 @@ static FlutterMethodChannel* gitChannel = 0;
|
|||||||
[self handleMethodCallAsync:call result:result];
|
[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]) {
|
else if ([@"gitAdd" isEqualToString:method]) {
|
||||||
NSString *folderPath = arguments[@"folderPath"];
|
NSString *folderPath = arguments[@"folderPath"];
|
||||||
NSString *filePattern = arguments[@"filePattern"];
|
NSString *filePattern = arguments[@"filePattern"];
|
||||||
|
Reference in New Issue
Block a user