Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
b6338ac6
Commit
b6338ac6
authored
May 20, 2013
by
Felix Paul Kühne
Browse files
fix logic error which prevented the Open URL UI to behave correctly if the pasteboard is empty
parent
af2b1036
Changes
1
Hide whitespace changes
Inline
Side-by-side
AspenProject/VLCAddMediaViewController.m
View file @
b6338ac6
...
...
@@ -88,11 +88,10 @@
pasteURL
=
[
NSURL
URLWithString
:
pasteString
];
}
if
(
pasteURL
&&
!
[[
pasteURL
scheme
]
isEqualToString
:
@""
]
&&
!
[[
pasteURL
absoluteString
]
isEqualToString
:
@""
])
{
if
(
pasteURL
&&
!
[[
pasteURL
scheme
]
isEqualToString
:
@""
]
&&
!
[[
pasteURL
absoluteString
]
isEqualToString
:
@""
])
self
.
openURLField
.
text
=
[
pasteURL
absoluteString
];
}
[
self
.
openNetworkStreamButton
addSubview
:
self
.
openURLView
];
}
[
self
.
openNetworkStreamButton
addSubview
:
self
.
openURLView
];
}
else
{
VLCAppDelegate
*
appDelegate
=
[
UIApplication
sharedApplication
].
delegate
;
[
appDelegate
.
playlistViewController
openMovieFromURL
:[
NSURL
URLWithString
:
self
.
openURLField
.
text
]];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment