mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 11:17:25 +01:00
Tweak more screen to remove top padding
This commit is contained in:
parent
3a62acc54d
commit
d3a4126e27
@ -24,30 +24,28 @@ class MoreController : SettingsController() {
|
|||||||
|
|
||||||
val tintColor = context.getResourceColor(R.attr.colorAccent)
|
val tintColor = context.getResourceColor(R.attr.colorAccent)
|
||||||
|
|
||||||
preferenceCategory {
|
preference {
|
||||||
preference {
|
titleRes = R.string.label_extensions
|
||||||
titleRes = R.string.label_extensions
|
iconRes = R.drawable.ic_extension_black_24dp
|
||||||
iconRes = R.drawable.ic_extension_black_24dp
|
iconTint = tintColor
|
||||||
iconTint = tintColor
|
onClick {
|
||||||
onClick {
|
router.pushController(ExtensionController().withFadeTransaction())
|
||||||
router.pushController(ExtensionController().withFadeTransaction())
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
preference {
|
}
|
||||||
titleRes = R.string.label_download_queue
|
preference {
|
||||||
iconRes = R.drawable.ic_file_download_black_24dp
|
titleRes = R.string.label_download_queue
|
||||||
iconTint = tintColor
|
iconRes = R.drawable.ic_file_download_black_24dp
|
||||||
onClick {
|
iconTint = tintColor
|
||||||
router.pushController(DownloadController().withFadeTransaction())
|
onClick {
|
||||||
}
|
router.pushController(DownloadController().withFadeTransaction())
|
||||||
}
|
}
|
||||||
preference {
|
}
|
||||||
titleRes = R.string.label_migration
|
preference {
|
||||||
iconRes = R.drawable.ic_compare_arrows_black_24dp
|
titleRes = R.string.label_migration
|
||||||
iconTint = tintColor
|
iconRes = R.drawable.ic_compare_arrows_black_24dp
|
||||||
onClick {
|
iconTint = tintColor
|
||||||
router.pushController(MigrationController().withFadeTransaction())
|
onClick {
|
||||||
}
|
router.pushController(MigrationController().withFadeTransaction())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user