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
b4dc90c1
Commit
b4dc90c1
authored
Sep 27, 2015
by
Pierre SAGASPE
Browse files
library view: hide metadata label when orientation changing, if the cell is expended
parent
7b68b27f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Sources/VLCLibraryViewController.m
View file @
b4dc90c1
...
...
@@ -1511,6 +1511,14 @@ static NSString *kUsingTableViewToShowData = @"UsingTableViewToShowData";
if
(
!
_usingTableViewToShowData
)
[
self
.
collectionView
.
collectionViewLayout
invalidateLayout
];
else
{
NSArray
*
visibleCells
=
[
self
.
tableView
visibleCells
];
NSUInteger
cellCount
=
visibleCells
.
count
;
for
(
NSUInteger
x
=
0
;
x
<
cellCount
;
x
++
)
{
if
([
visibleCells
[
x
]
isExpanded
])
[
visibleCells
[
x
]
metaDataLabel
].
hidden
=
YES
;
}
}
}
#pragma mark - Search Display Controller Delegate
...
...
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