Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
7109ed99
Commit
7109ed99
authored
Jun 28, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 头像
parent
c1b14cb2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
YHMyViewController.swift
...alaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
+1
-1
YHUserInfoHeaderView.swift
...axy/Classes/Modules/Mine(我的)/V/YHUserInfoHeaderView.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
View file @
7109ed99
...
...
@@ -425,7 +425,7 @@ extension YHMyViewController {
[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
let
url
=
URL
(
string
:
self
.
userViewModel
.
nameCardInfo
.
avatar
)
self
.
headerView
.
avarImgView
.
kf
.
setImage
(
with
:
url
,
placeholder
:
UIImage
(
named
:
"
min
e_head_default"
))
self
.
headerView
.
avarImgView
.
kf
.
setImage
(
with
:
url
,
placeholder
:
UIImage
(
named
:
"
peopl
e_head_default"
))
}
}
}
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/V/YHUserInfoHeaderView.swift
View file @
7109ed99
...
...
@@ -206,7 +206,7 @@ class YHUserInfoHeaderView: UIView {
}
func
updateAvatar
()
{
let
headImgName
=
YHLoginManager
.
shared
.
isLogin
()
?
"
min
e_head_default"
:
"mine_head_logout"
let
headImgName
=
YHLoginManager
.
shared
.
isLogin
()
?
"
peopl
e_head_default"
:
"mine_head_logout"
avarImgView
.
image
=
UIImage
(
named
:
headImgName
)
}
...
...
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