Commit 214b8fe4 authored by Konstantin Tskhovrebov's avatar Konstantin Tskhovrebov 🤖

Delete unused code.

parent 182783e0
package ru.terrakok.gitlabclient.ui.project
import android.os.Bundle
import android.support.v4.view.ViewCompat
import android.util.TypedValue
import com.aurelhubert.ahbottomnavigation.AHBottomNavigationAdapter
import kotlinx.android.synthetic.main.fragment_project.*
import ru.terrakok.gitlabclient.R
......@@ -88,18 +86,6 @@ class ProjectFragment : BaseFragment(), ProjectInfoFragment.ProjectInfoToolbar {
it.userVisibleHint = true
}
}.commitNow()
setToolbarElevation(tab)
}
private fun setToolbarElevation(tab: String) {
if (tab == Screens.PROJECT_INFO_SCREEN) {
ViewCompat.setElevation(
toolbar,
TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 8f, resources.displayMetrics)
)
} else {
ViewCompat.setElevation(toolbar, 0f)
}
}
private fun createTabFragment(tab: String) =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment