Skip to content

Commit

Permalink
Bump version to 2.2.9
Browse files Browse the repository at this point in the history
Upgrade target and compile sdk to 33
  • Loading branch information
maxkeppeler committed Jul 24, 2022
1 parent a2ac9d9 commit b804566
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 5 additions & 5 deletions dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
ext.versions = [
min_sdk: 21,
target_sdk: 31,
compile_sdk: 31,
build_tools: 31,
release_version: "2.2.8",
release_version_code: 25
target_sdk: 33,
compile_sdk: 33,
build_tools: 33,
release_version: "2.2.9",
release_version_code: 26
]

ext.deps = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,11 @@ class OptionsSheet : Sheet() {
var i = 0
while (i < menu.size()) {
val menuItem = menu.getItem(i)
menuItemOptions.add(Option(menuItem.icon, menuItem.title.toString()))
menuItem.title?.toString()?.let { title ->
val option = menuItem.icon?.let { Option(it, title) } ?: Option(title)
menuItemOptions.add(option)
}

i++
}
this.options.addAll(menuItemOptions)
Expand Down

0 comments on commit b804566

Please sign in to comment.