community
community copied to clipboard
Handle edge case when padding is None in _migrate_deprecated_padding_xy
Fixes https://github.com/kivy/kivy/issues/8280
Maintainer merge checklist
- [ ] Title is descriptive/clear for inclusion in release notes.
- [ ] Applied a
Component: xxxlabel. - [ ] Applied the
api-deprecationorapi-breaklabel. - [ ] Applied the
release-highlightlabel to be highlighted in release notes. - [ ] Added to the milestone version it was merged into.
- [ ] Unittests are included in PR.
- [ ] Properly documented, including
versionadded,versionchangedas needed.
Thanks for opening your first pull request here! 💖 Please check out our contributing guidelines.
This is a regression with Kivy 2.2 from 2.1, where some code using KivyMD will fail with very indescriptive error. This makes the code work just as it did with 2.1.