Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
Merge pull request #639 from TeamBeMe/yjooooo
Browse files Browse the repository at this point in the history
Fix Bug.
  • Loading branch information
yjooooo authored Mar 30, 2021
2 parents b42d492 + a9c58dc commit 3da9189
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import com.teambeme.beme.R
import com.teambeme.beme.answer.model.IntentAnswerData
import com.teambeme.beme.answer.view.AnswerActivity
import com.teambeme.beme.base.BindingFragment
import com.teambeme.beme.data.remote.datasource.FollowingDataSourceImpl
import com.teambeme.beme.data.remote.singleton.RetrofitObjects
import com.teambeme.beme.databinding.FragmentFollowingBinding
import com.teambeme.beme.databinding.ItemExploreOtherQuestionsBinding
import com.teambeme.beme.databinding.ItemFollowingProfilesOfFollowerBinding
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ class MainActivity : BindingActivity<ActivityMainBinding>(R.layout.activity_main
R.id.menu_main_home -> {
binding.vpMain.currentItem = 2
StatusBarUtil.setStatusBar(this, resources.getColor(R.color.black, null))
setViewPagerDefaultPosition()
}
R.id.menu_main_mypage -> {
binding.vpMain.currentItem = 3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ class MyPageFragment : Fragment() {
}

private fun setScrollToTop() {
binding.appbarLayoutMypage.setExpanded(true, true)
eventViewModel.fourthButtonClicked.observe(viewLifecycleOwner) {
binding.appbarLayoutMypage.setExpanded(true, true)
myPageViewModel.scrollUp(binding.tabMypage.selectedTabPosition)
}
}
Expand Down

0 comments on commit 3da9189

Please sign in to comment.