plyer icon indicating copy to clipboard operation
plyer copied to clipboard

function _set_icon() 114 line never execute

Open nmweizi opened this issue 2 years ago • 1 comments

  • 114 line never execute, _set_icons(self, notification, icon=None) https://github.com/kivy/plyer/blob/924e406043768d3e8696b90778dc1ac16d6e1081/plyer/platforms/android/notification.py

  • may be

elif icon is None:
截屏2022-11-09 19 07 19

nmweizi avatar Nov 09 '22 11:11 nmweizi

Summarising: There is some code in an elif that does nothing, and can never be reached, so it can be removed.

Julian-O avatar Oct 27 '23 01:10 Julian-O