mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-23 11:45:11 +00:00
fixed changelog attaching
This commit is contained in:
parent
109b065ab0
commit
865d61d413
1 changed files with 2 additions and 1 deletions
|
@ -13,6 +13,7 @@ import androidx.localbroadcastmanager.content.LocalBroadcastManager
|
|||
import androidx.preference.PreferenceManager.getDefaultSharedPreferences
|
||||
import com.google.android.material.tabs.TabLayoutMediator
|
||||
import com.vanced.manager.R
|
||||
import com.vanced.manager.adapter.SectionPageAdapter
|
||||
import com.vanced.manager.adapter.SectionPageRootAdapter
|
||||
import com.vanced.manager.core.fragments.Home
|
||||
import com.vanced.manager.databinding.FragmentHomeBinding
|
||||
|
@ -113,7 +114,7 @@ class HomeFragment : Home() {
|
|||
}
|
||||
|
||||
private fun attachNonrootChangelog() {
|
||||
val sectionPageRootAdapter = SectionPageRootAdapter(this)
|
||||
val sectionPageRootAdapter = SectionPageAdapter(this)
|
||||
with(binding.includeChangelogsLayout) {
|
||||
viewpager.adapter = sectionPageRootAdapter
|
||||
TabLayoutMediator(tablayout, viewpager) { tab, position ->
|
||||
|
|
Loading…
Reference in a new issue