Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
1
1weather
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
1weather
Commits
bd5171f7
Commit
bd5171f7
authored
Apr 14, 2021
by
Dmitriy Stepanets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Little UI changes
parent
867a91f2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
0 deletions
+23
-0
1Weather/Resources/Assets.xcassets/cross_icon.imageset/Contents.json
+16
-0
1Weather/Resources/Assets.xcassets/cross_icon.imageset/cross_icon.pdf
+0
-0
1Weather/UI/View controllers/Radar/Controls/MapButton.swift
+5
-0
1Weather/UI/View controllers/Radar/RadarViewController.swift
+2
-0
No files found.
1Weather/Resources/Assets.xcassets/cross_icon.imageset/Contents.json
0 → 100644
View file @
bd5171f7
{
"images"
:
[
{
"filename"
:
"cross_icon.pdf"
,
"idiom"
:
"universal"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
},
"properties"
:
{
"preserves-vector-representation"
:
true
,
"template-rendering-intent"
:
"template"
}
}
1Weather/Resources/Assets.xcassets/cross_icon.imageset/cross_icon.pdf
0 → 100644
View file @
bd5171f7
File added
1Weather/UI/View controllers/Radar/Controls/MapButton.swift
View file @
bd5171f7
...
...
@@ -68,6 +68,11 @@ class MapButton: UIControl {
self
.
imageView
.
tintColor
=
.
white
}
}
//Public
public
func
setImage
(
image
:
UIImage
?)
{
self
.
imageView
.
image
=
image
}
}
//MARK:- Prepare
...
...
1Weather/UI/View controllers/Radar/RadarViewController.swift
View file @
bd5171f7
...
...
@@ -92,6 +92,7 @@ class RadarViewController: UIViewController {
update
.
height
.
equalTo
(
kPinnedLayersHeight
+
tabBarHeight
)
}
isFullScreen
=
false
fullScreenButton
.
setImage
(
image
:
UIImage
(
named
:
"map_fullscreen"
))
}
else
{
self
.
navigationController
?
.
setNavigationBarHidden
(
true
,
animated
:
true
)
...
...
@@ -100,6 +101,7 @@ class RadarViewController: UIViewController {
update
.
height
.
equalTo
(
kPinnedLayersHeight
+
view
.
safeAreaInsets
.
bottom
)
}
isFullScreen
=
true
fullScreenButton
.
setImage
(
image
:
UIImage
(
named
:
"cross_icon"
))
}
self
.
view
.
setNeedsLayout
()
...
...
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