Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC-iOS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cerezo074
VLC-iOS
Commits
17e5a279
Commit
17e5a279
authored
Jul 09, 2019
by
Carola Nitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VLCCloudViewcontroller: Fix lingering toolbar
(closes #572)
parent
8c815cd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
Sources/VLCCloudStorageTableViewController.m
Sources/VLCCloudStorageTableViewController.m
+6
-2
No files found.
Sources/VLCCloudStorageTableViewController.m
View file @
17e5a279
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
UIRefreshControl
*
_refreshControl
;
UIRefreshControl
*
_refreshControl
;
UIBarButtonItem
*
_progressBarButtonItem
;
UIBarButtonItem
*
_progressBarButtonItem
;
UIBarButtonItem
*
_logoutButton
;
UIBarButtonItem
*
_logoutButton
;
UINavigationController
*
tempNav
;
}
}
@end
@end
...
@@ -102,13 +103,16 @@
...
@@ -102,13 +103,16 @@
-
(
void
)
viewWillAppear
:(
BOOL
)
animated
-
(
void
)
viewWillAppear
:(
BOOL
)
animated
{
{
self
.
navigationController
.
toolbarHidden
=
NO
;
//Workaround since in viewWillDisappear self.navigationController can be nil which will lead to a lingering toolbar
tempNav
=
self
.
navigationController
;
tempNav
.
toolbarHidden
=
NO
;
[
super
viewWillAppear
:
animated
];
[
super
viewWillAppear
:
animated
];
}
}
-
(
void
)
viewWillDisappear
:(
BOOL
)
animated
-
(
void
)
viewWillDisappear
:(
BOOL
)
animated
{
{
self
.
navigationController
.
toolbarHidden
=
YES
;
tempNav
.
toolbarHidden
=
YES
;
tempNav
=
nil
;
[
super
viewWillDisappear
:
animated
];
[
super
viewWillDisappear
:
animated
];
}
}
...
...
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