Skip to content
This repository has been archived by the owner on Apr 10, 2021. It is now read-only.

Commit

Permalink
Changed wrong toolbar icon on the search screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Jizzu committed Feb 16, 2019
1 parent d51c581 commit dfddd98
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file modified .idea/caches/build_file_checksums.ser
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class SearchActivity : BaseActivity(), SearchView.OnQueryTextListener {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_search)
initToolbar()
initToolbar("", R.drawable.round_arrow_back_black_24)

mViewModel = createViewModel()
mViewModel.searchResultLiveData.observe(this, Observer<List<Task>> { response -> updateViewState(response) })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import kotlinx.android.synthetic.main.toolbar.*

abstract class BaseActivity : AppCompatActivity() {

fun initToolbar(titleText: String = "", drawable: Int = R.drawable.round_close_black_24) {
fun initToolbar(titleText: String, drawable: Int = R.drawable.round_close_black_24) {
title = ""
toolbarTitle.text = titleText

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ext {
buildToolsVersion = '28.0.3'
minSdkVersion = 19
targetSdkVersion = 28
versionCode = 11
versionCode = 12
versionName = "1.5"

// App dependencies
Expand Down

0 comments on commit dfddd98

Please sign in to comment.