mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 10:35:26 +00:00
Updated bottom padding for home fragment
This commit is contained in:
parent
3b4cb23112
commit
23978ef4d2
@ -23,7 +23,6 @@ import com.topjohnwu.magisk.ui.superuser.SuperuserFragment
|
||||
import com.topjohnwu.magisk.utils.HideTopViewOnScrollBehavior
|
||||
import com.topjohnwu.superuser.Shell
|
||||
import org.koin.androidx.viewmodel.ext.android.viewModel
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
open class MainActivity : CompatActivity<MainViewModel, ActivityMainMd2Binding>(),
|
||||
FragNavController.TransactionListener {
|
||||
@ -34,7 +33,7 @@ open class MainActivity : CompatActivity<MainViewModel, ActivityMainMd2Binding>(
|
||||
|
||||
override val navigation by lazy { CompatNavigationDelegate(this, this) }
|
||||
|
||||
override val baseFragments: List<KClass<out Fragment>> = listOf(
|
||||
override val baseFragments = listOf(
|
||||
HomeFragment::class,
|
||||
ModulesFragment::class,
|
||||
SuperuserFragment::class,
|
||||
|
@ -22,7 +22,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:clipToPadding="false"
|
||||
android:paddingTop="@{viewModel.insets.top + (int) @dimen/internal_action_bar_size + (int) @dimen/l2}"
|
||||
android:paddingBottom="@{viewModel.insets.bottom + (int) @dimen/l1}"
|
||||
android:paddingBottom="@{viewModel.insets.bottom + (int) @dimen/l2}"
|
||||
tools:layout_marginTop="24dp">
|
||||
|
||||
<LinearLayout
|
||||
|
Loading…
Reference in New Issue
Block a user