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
c474641b
Commit
c474641b
authored
Apr 23, 2014
by
Pierre SAGASPE
Committed by
Felix Paul Kühne
May 05, 2014
Browse files
display activity monitor when navigating over FTP
Signed-off-by:
Felix Paul Kühne
<
fkuehne@videolan.org
>
parent
2ae07d94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Sources/VLCLocalServerFolderListViewController.m
View file @
c474641b
...
...
@@ -257,6 +257,10 @@
{
UIColor
*
color
=
(
indexPath
.
row
%
2
==
0
)?
[
UIColor
blackColor
]:
[
UIColor
colorWithWhite
:.
122
alpha
:
1
.];
cell
.
contentView
.
backgroundColor
=
cell
.
titleLabel
.
backgroundColor
=
cell
.
folderTitleLabel
.
backgroundColor
=
cell
.
subtitleLabel
.
backgroundColor
=
color
;
if
(
_serverType
==
kVLCServerTypeFTP
)
if
([
indexPath
row
]
==
((
NSIndexPath
*
)[[
tableView
indexPathsForVisibleRows
]
lastObject
]).
row
)
[(
VLCAppDelegate
*
)[
UIApplication
sharedApplication
].
delegate
networkActivityStopped
];
}
-
(
void
)
tableView
:(
UITableView
*
)
tableView
didSelectRowAtIndexPath
:(
NSIndexPath
*
)
indexPath
...
...
@@ -346,6 +350,7 @@
_FTPListDirRequest
.
path
=
_ftpServerPath
;
_FTPListDirRequest
.
passive
=
YES
;
[(
VLCAppDelegate
*
)[
UIApplication
sharedApplication
].
delegate
networkActivityStarted
];
[
_FTPListDirRequest
start
];
}
...
...
Write
Preview
Supports
Markdown
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