fix osx libcurl link
This commit is contained in:
@@ -51,7 +51,8 @@ void App::pick_image(std::function<void(std::string path)> callback)
|
||||
#elif __OSX__
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
std::string path = [osx_view pick_file];
|
||||
callback(path);
|
||||
if (!path.empty())
|
||||
callback(path);
|
||||
});
|
||||
#elif __ANDROID__
|
||||
//displayKeyboard(and_app, false);
|
||||
|
||||
Reference in New Issue
Block a user