Fixed all the typos

This commit is contained in:
Kota-Jagadeesh 2025-10-11 16:26:52 +05:30
parent 2b1561bef5
commit 5603b44d8a
3 changed files with 5 additions and 5 deletions

View file

@ -213,7 +213,7 @@ class ImageFragment :
): View? {
_binding = FragmentCustomSelectorBinding.inflate(inflater, container, false)
// ensuress imageAdapter is initialized
// ensures imageAdapter is initialized
if (!::imageAdapter.isInitialized) {
imageAdapter = ImageAdapter(requireActivity(), activity as ImageSelectListener, imageLoader!!)
Timber.d("Initialized imageAdapter in onCreateView")
@ -401,7 +401,7 @@ class ImageFragment :
(selectorRV?.layoutManager as? GridLayoutManager)
?.findFirstVisibleItemPosition() ?: -1
// cheeck for valid position and non-empty image list
// check for valid position and non-empty image list
if (position != -1 && filteredImages.isNotEmpty() && ::imageAdapter.isInitialized) {
context?.let { context ->
context

View file

@ -580,12 +580,12 @@ class UploadActivity : BaseActivity(), UploadContract.View, UploadBaseFragment.C
}
}
// unregisteer location manager after loop if needed
// unregister location manager after loop if needed
if (!uploadIsOfAPlace) {
locationManager!!.unregisterLocationManager()
}
//If fragments are not created, create them and add them to the fragments ArrayList
// If fragments are not created, create them and add them to the fragments ArrayList
if (!isFragmentsSaved) {
uploadCategoriesFragment = UploadCategoriesFragment()
if (place != null) {

View file

@ -168,7 +168,7 @@ class UploadMediaDetailFragment : UploadBaseFragment(), UploadMediaDetailsContra
basicKvStore = BasicKvStore(requireActivity(), "CurrentUploadImageQualities")
// restoree adapter items from savedInstanceState if available
// restore adapter items from savedInstanceState if available
if (savedInstanceState != null) {
val savedItems = savedInstanceState.getParcelableArrayList<UploadMediaDetail>(UPLOAD_MEDIA_DETAILS)
Timber.d("Restoring state: savedItems size = %s", savedItems?.size ?: "null")