Skip to content

Commit

Permalink
chore: bump kotlin to 1.9.22
Browse files Browse the repository at this point in the history
  • Loading branch information
VaiTon committed Jan 29, 2024
1 parent 6edaabc commit 45cecdc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion = "1.4.8"
kotlinCompilerExtensionVersion = "1.5.8"
}

flavorDimensions += listOf("versionCode", "platform")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ class AllergensAlertFragment : NavigationBaseFragment() {
_binding = null
}

@Deprecated("Deprecated in Java")
override fun onCreateOptionsMenu(menu: Menu, inflater: MenuInflater) {
// Set search as invisible
menu.findItem(R.id.action_search).isVisible = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class CategoryListFragment : BaseFragment() {
super.onDestroyView()
}

@Deprecated("Deprecated in Java")
override fun onCreateOptionsMenu(menu: Menu, inflater: MenuInflater) {
inflater.inflate(R.menu.menu_main, menu)
val searchManager = requireActivity().getSystemService<SearchManager>()!!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ class PreferencesFragment : PreferenceFragmentCompat(), INavigationItem {
}
}

@Deprecated("Deprecated in Java")
override fun onCreateOptionsMenu(menu: Menu, inflater: MenuInflater) {
menu.findItem(R.id.action_search).isVisible = false
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ class ProductViewFragment : Fragment(), IProductView, OnRefreshListener {
requireActivity()
)

@Deprecated("Deprecated in Java")
override fun onOptionsItemSelected(item: MenuItem) = onOptionsItemSelected(requireActivity(), item)

override fun onRefresh() {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
# https://kotlinlang.org/docs/releases.html#release-details
kotlin = "1.8.22"
kotlin = "1.9.22"
# https://github.com/Kotlin/kotlinx.coroutines
kotlin-coroutines = "1.7.3"
# https://github.com/FasterXML/jackson
Expand Down

0 comments on commit 45cecdc

Please sign in to comment.