mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-30 06:13:54 +01:00
Migrated Java profile package to kotlin (#6119)
* Rename .java to .kt * Migrate Profile Package to Kotlin #6118 #5928 * Migrate Profile Package to Kotlin #6118 #5928 * Migrate Profile Package to Kotlin #6118 #5928
This commit is contained in:
parent
62136b5b09
commit
70291a0cb2
4 changed files with 234 additions and 269 deletions
|
|
@ -1754,10 +1754,11 @@ class MediaDetailFragment : CommonsDaggerSupportFragment(), CategoryEditHelper.C
|
|||
return
|
||||
}
|
||||
ProfileActivity.startYourself(
|
||||
activity,
|
||||
media!!.user,
|
||||
sessionManager.userName != media!!.user
|
||||
requireActivity(), // Ensure this is a non-null Activity context
|
||||
media?.user ?: "", // Provide a fallback value if media?.user is null
|
||||
sessionManager.userName != media?.user // This can remain as is, null check will apply
|
||||
)
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue