Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
f06af90b
Commit
f06af90b
authored
Jan 25, 2015
by
Pierre SAGASPE
Committed by
Felix Paul Kühne
Jan 25, 2015
Browse files
clouds: fix navigation back after logout
Signed-off-by:
Felix Paul Kühne
<
fkuehne@videolan.org
>
parent
c62e8b30
Changes
2
Hide whitespace changes
Inline
Side-by-side
Sources/VLCCloudStorageTableViewController.m
View file @
f06af90b
...
...
@@ -154,7 +154,7 @@
-
(
void
)
goBack
{
if
((
!
[
self
.
currentPath
isEqualToString
:
@""
]
&&
!
[
self
.
currentPath
isEqualToString
:
@"/"
])
&&
[
self
.
currentPath
length
]
>
0
)
{
if
((
(
!
[
self
.
currentPath
isEqualToString
:
@""
]
&&
!
[
self
.
currentPath
isEqualToString
:
@"/"
])
&&
[
self
.
currentPath
length
]
>
0
)
&&
[
self
.
controller
isAuthorized
])
{
self
.
currentPath
=
[
self
.
currentPath
stringByDeletingLastPathComponent
];
[
self
_requestInformationForCurrentPath
];
}
else
...
...
Sources/VLCOneDriveTableViewController.m
View file @
f06af90b
...
...
@@ -54,7 +54,7 @@
-
(
void
)
goBack
{
if
(
_oneDriveController
.
rootFolder
!=
_oneDriveController
.
currentFolder
)
{
if
(
(
_oneDriveController
.
rootFolder
!=
_oneDriveController
.
currentFolder
)
&&
[
_oneDriveController
isAuthorized
])
{
if
([
_oneDriveController
.
rootFolder
.
name
isEqualToString
:
_oneDriveController
.
currentFolder
.
parent
.
name
])
{
_oneDriveController
.
currentFolder
=
nil
;
self
.
title
=
_oneDriveController
.
rootFolder
.
name
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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