Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
Material
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitriy Stepanets
Material
Commits
62bb56cd
Unverified
Commit
62bb56cd
authored
Aug 30, 2016
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
development: minor clean up to navigation controllers
parent
957a1bdf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
Sources/iOS/NavigationController.swift
+2
-2
Sources/iOS/PhotoLibraryController.swift
+1
-1
Sources/iOS/RootController.swift
+2
-2
No files found.
Sources/iOS/NavigationController.swift
View file @
62bb56cd
...
...
@@ -112,10 +112,10 @@ open class NavigationController: UINavigationController {
when subclassing.
*/
open
func
prepareView
()
{
view
.
clipsToBounds
=
true
edgesForExtendedLayout
=
[]
view
.
clipsToBounds
=
true
view
.
backgroundColor
=
Color
.
white
view
.
contentScaleFactor
=
Device
.
scale
edgesForExtendedLayout
=
[]
// This ensures the panning gesture is available when going back between views.
if
let
v
=
interactivePopGestureRecognizer
{
...
...
Sources/iOS/PhotoLibraryController.swift
View file @
62bb56cd
...
...
@@ -47,10 +47,10 @@ open class PhotoLibraryController: UIViewController, PhotoLibraryDelegate {
when subclassing.
*/
open
func
prepareView
()
{
edgesForExtendedLayout
=
[]
view
.
clipsToBounds
=
true
view
.
backgroundColor
=
Color
.
white
view
.
contentScaleFactor
=
Device
.
scale
edgesForExtendedLayout
=
[]
preparePhotoLibrary
()
}
...
...
Sources/iOS/RootController.swift
View file @
62bb56cd
...
...
@@ -151,10 +151,10 @@ open class RootController: UIViewController {
when subclassing.
*/
open
func
prepareView
()
{
view
.
clipsToBounds
=
true
edgesForExtendedLayout
=
[]
view
.
clipsToBounds
=
true
view
.
backgroundColor
=
Color
.
white
view
.
contentScaleFactor
=
Device
.
scale
edgesForExtendedLayout
=
[]
prepareRootViewController
()
}
...
...
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