Commit f3aa6fb0 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

iOS dialog provider: prevent runtime exception on tvOS

parent 1125247b
......@@ -387,7 +387,8 @@ bool checkProgressPanel (void *priv)
[alertController addAction:[UIAlertAction actionWithTitle:dialog[@"cancel"]
NSString *cancelTitle = dialog[@"cancel"];
[alertController addAction:[UIAlertAction actionWithTitle:cancelTitle != nil ? cancelTitle : NSLocalizedString(@"Cancel", nil)
handler:^(UIAlertAction * _Nonnull action) {
ret = 3;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment