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:
Sujal 2025-01-16 13:06:02 +05:30 committed by GitHub
parent 62136b5b09
commit 70291a0cb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 234 additions and 269 deletions

View file

@ -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
)
}
/**