Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-ios
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-ios
Commits
4b098fba
Commit
4b098fba
authored
1 year ago
by
Alireza Toghyiani
Committed by
Kateryna Kostiuk
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
fix link device form UI issue
Change-Id: I6615e6f9abf3aeb518882d42c7b4a281d3e8ef9d
parent
5b55f219
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Ring/Ring/Features/Walkthrough/LinkDevice/LinkDeviceViewController.swift
+6
-4
6 additions, 4 deletions
...res/Walkthrough/LinkDevice/LinkDeviceViewController.swift
with
6 additions
and
4 deletions
Ring/Ring/Features/Walkthrough/LinkDevice/LinkDeviceViewController.swift
+
6
−
4
View file @
4b098fba
...
@@ -54,16 +54,15 @@ class LinkDeviceViewController: UIViewController, StoryboardBased, ViewModelBase
...
@@ -54,16 +54,15 @@ class LinkDeviceViewController: UIViewController, StoryboardBased, ViewModelBase
// MARK: functions
// MARK: functions
override
func
viewDidLoad
()
{
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
super
.
viewDidLoad
()
setupUI
()
// Style
// Style
self
.
pinTextField
.
becomeFirstResponder
()
self
.
view
.
layoutIfNeeded
()
linkButton
.
titleLabel
?
.
ajustToTextSize
()
linkButton
.
titleLabel
?
.
ajustToTextSize
()
adaptToSystemColor
()
adaptToSystemColor
()
configurePasswordField
()
configurePasswordField
()
self
.
applyL10n
()
self
.
applyL10n
()
setupUI
()
self
.
pinTextField
.
becomeFirstResponder
()
// bind view model to view
// bind view model to view
...
@@ -142,7 +141,10 @@ class LinkDeviceViewController: UIViewController, StoryboardBased, ViewModelBase
...
@@ -142,7 +141,10 @@ class LinkDeviceViewController: UIViewController, StoryboardBased, ViewModelBase
contentView
.
removeCorners
()
contentView
.
removeCorners
()
view
.
backgroundColor
=
.
secondarySystemBackground
view
.
backgroundColor
=
.
secondarySystemBackground
}
else
{
}
else
{
contentView
.
roundTopCorners
(
radius
:
12
)
DispatchQueue
.
main
.
async
{
[
weak
self
]
in
guard
let
self
else
{
return
}
self
.
contentView
.
roundTopCorners
(
radius
:
12
)
}
view
.
backgroundColor
=
.
clear
view
.
backgroundColor
=
.
clear
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment