Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
App16
iOS
Commits
0d9a63b2
Commit
0d9a63b2
authored
Mar 25, 2020
by
Grigor Aghabalyan
⚽
Browse files
Fix: dark mode colors
parent
9f45c801
Changes
8
Hide whitespace changes
Inline
Side-by-side
App16.xcodeproj/project.pbxproj
View file @
0d9a63b2
...
...
@@ -646,6 +646,7 @@
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
2
;
DEVELOPMENT_TEAM
=
JY829SQQAV
;
INFOPLIST_FILE
=
App16/Info.plist
;
IPHONEOS_DEPLOYMENT_TARGET
=
12.0
;
...
...
@@ -666,6 +667,7 @@
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
2
;
DEVELOPMENT_TEAM
=
JY829SQQAV
;
INFOPLIST_FILE
=
App16/Info.plist
;
IPHONEOS_DEPLOYMENT_TARGET
=
12.0
;
...
...
App16/AppDelegate.swift
View file @
0d9a63b2
...
...
@@ -38,6 +38,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
UIApplication
.
shared
.
registerForRemoteNotifications
()
application
.
registerForRemoteNotifications
()
UINavigationBar
.
appearance
()
.
barTintColor
=
UIColor
(
red
:
0
/
255
,
green
:
137
/
255
,
blue
:
40
/
255
,
alpha
:
1
)
UINavigationBar
.
appearance
()
.
tintColor
=
.
white
UINavigationBar
.
appearance
()
.
isTranslucent
=
false
return
true
}
...
...
App16/Info.plist
View file @
0d9a63b2
...
...
@@ -17,7 +17,7 @@
<key>
CFBundleShortVersionString
</key>
<string>
1.0
</string>
<key>
CFBundleVersion
</key>
<string>
1
</string>
<string>
$(CURRENT_PROJECT_VERSION)
</string>
<key>
LSRequiresIPhoneOS
</key>
<true/>
<key>
UIApplicationSceneManifest
</key>
...
...
App16/Views/DatePicker/DatePickerViewController.swift
View file @
0d9a63b2
...
...
@@ -27,6 +27,7 @@ class DatePickerViewController: UIViewController {
datePickerView
.
datePickerMode
=
.
time
datePickerView
.
locale
=
Locale
(
identifier
:
"hy"
)
datePickerView
.
setValue
(
UIColor
.
black
,
forKeyPath
:
"textColor"
)
}
func
getData
(
callback
:
@escaping
(
String
?)
->
())
{
...
...
App16/Views/DatePicker/DatePickerViewController.xib
View file @
0d9a63b2
...
...
@@ -28,7 +28,7 @@
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"AlP-zS-889"
>
<rect
key=
"frame"
x=
"0.0"
y=
"680"
width=
"414"
height=
"216"
/>
<color
key=
"backgroundColor"
whit
e=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"
genericGamma22GrayColorSpace
"
/>
<color
key=
"backgroundColor"
red=
"0.99999600649999998"
green=
"1"
blu
e=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"
sRGB
"
/>
</view>
<datePicker
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
datePickerMode=
"dateAndTime"
minuteInterval=
"1"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Vlm-81-gMY"
>
<rect
key=
"frame"
x=
"0.0"
y=
"680"
width=
"414"
height=
"216"
/>
...
...
App16/Views/Form/FormList/Cells/FormListCell.xib
View file @
0d9a63b2
...
...
@@ -78,6 +78,7 @@
</constraints>
</view>
</subviews>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<constraints>
<constraint
firstItem=
"5OJ-Lh-Jnc"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"16"
id=
"Dif-PR-mhb"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"5OJ-Lh-Jnc"
secondAttribute=
"trailing"
constant=
"16"
id=
"Q2J-46-mfn"
/>
...
...
App16/Views/Form/FormList/FormListViewController.xib
View file @
0d9a63b2
...
...
@@ -22,13 +22,13 @@
<subviews>
<tableView
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
alwaysBounceVertical=
"YES"
style=
"plain"
separatorStyle=
"none"
rowHeight=
"-1"
estimatedRowHeight=
"-1"
sectionHeaderHeight=
"28"
sectionFooterHeight=
"28"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"HZb-fy-7lq"
>
<rect
key=
"frame"
x=
"0.0"
y=
"52"
width=
"414"
height=
"844"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSy
st
e
mColor
=
"whiteColor
"
/>
<color
key=
"backgroundColor"
red=
"0.99999600649999998"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
cu
st
o
mColor
Space=
"sRGB
"
/>
</tableView>
<activityIndicatorView
hidden=
"YES"
opaque=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"750"
verticalHuggingPriority=
"750"
hidesWhenStopped=
"YES"
style=
"medium"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"5tF-n7-YKL"
>
<rect
key=
"frame"
x=
"197"
y=
"438"
width=
"20"
height=
"20"
/>
</activityIndicatorView>
</subviews>
<color
key=
"backgroundColor"
red=
"1"
green=
"1"
blu
e=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"
sRGB
"
/>
<color
key=
"backgroundColor"
whit
e=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"
genericGamma22GrayColorSpace
"
/>
<constraints>
<constraint
firstItem=
"HZb-fy-7lq"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"2Ot-Go-5dk"
/>
<constraint
firstItem=
"HZb-fy-7lq"
firstAttribute=
"trailing"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"trailing"
id=
"JJa-S3-A8H"
/>
...
...
App16/Views/Welcome/WelcomeViewController.xib
View file @
0d9a63b2
...
...
@@ -54,7 +54,7 @@
</button>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"roundedRect"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"xKX-74-m44"
>
<rect
key=
"frame"
x=
"40"
y=
"450"
width=
"334"
height=
"50"
/>
<color
key=
"backgroundColor"
white
=
"0.0"
alpha=
"0.0"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace
"
/>
<color
key=
"backgroundColor"
red
=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"0.0"
colorSpace=
"calibratedRGB
"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"50"
id=
"SD9-Jp-OMB"
/>
</constraints>
...
...
Write
Preview
Supports
Markdown
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