chrisbanes / insetter

Insetter is a library to help apps handle WindowInsets more easily
https://chrisbanes.github.io/insetter
Apache License 2.0
1.13k stars 42 forks source link

InsetterDsl -> Insetter.CONSUME_AUTO #118

Closed MasterOfTouch closed 3 years ago

MasterOfTouch commented 3 years ago

Currently all we have is fun consume(consume: Boolean) { builder = builder.consume(if (consume) Insetter.CONSUME_ALL else Insetter.CONSUME_NONE) } And if I want to use Insetter.CONSUME_AUTO then I have to use builder. Can we get this option via dsl pls?

MasterOfTouch commented 3 years ago

nvm https://github.com/chrisbanes/insetter/pull/112