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
04ac45fa
Unverified
Commit
04ac45fa
authored
Oct 19, 2016
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
development: fixed recursion issue with Snackbar and reloading
parent
8fd89991
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
10 deletions
+15
-10
Sources/Info.plist
+1
-1
Sources/iOS/Bar.swift
+7
-5
Sources/iOS/NavigationItem.swift
+7
-4
No files found.
Sources/Info.plist
View file @
04ac45fa
...
...
@@ -15,7 +15,7 @@
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
FMWK
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
2.2.
0
<
/string
>
<
string
>
2.2.
1
<
/string
>
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
string
>
????
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
...
...
Sources/iOS/Bar.swift
View file @
04ac45fa
...
...
@@ -125,12 +125,15 @@ open class Bar: View {
}
/// Center UIViews.
open
var
centerViews
=
[
UIView
]()
{
didSet
{
for
v
in
oldValue
{
open
var
centerViews
:
[
UIView
]
{
get
{
return
contentView
.
grid
.
views
}
set
(
value
)
{
for
v
in
contentView
.
grid
.
views
{
v
.
removeFromSuperview
()
}
layoutSubviews
()
contentView
.
grid
.
views
=
value
}
}
...
...
@@ -227,7 +230,6 @@ open class Bar: View {
}
contentView
.
grid
.
begin
()
contentView
.
grid
.
views
=
centerViews
if
.
center
==
contentViewAlignment
{
if
lc
<
rc
{
...
...
Sources/iOS/NavigationItem.swift
View file @
04ac45fa
...
...
@@ -75,12 +75,15 @@ public class NavigationItem: NSObject {
}
/// Center items.
public
var
centerViews
=
[
UIView
]()
{
didSet
{
for
v
in
oldValue
{
public
var
centerViews
:
[
UIView
]
{
get
{
return
contentView
.
grid
.
views
}
set
(
value
)
{
for
v
in
contentView
.
grid
.
views
{
v
.
removeFromSuperview
()
}
navigationBar
?
.
layoutSubviews
()
contentView
.
grid
.
views
=
value
}
}
...
...
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