Closed realkalash closed 4 years ago
The error message shows one of the image resources is not exist to set an icon.
addItem(PowerMenuItem(getString(R.string.paid_driver_for_km), R.drawable.ic_delivery))
addItem(PowerMenuItem(getString(R.string.paid_for_enter), R.drawable.ic_gate_black))
addItem(PowerMenuItem(getString(R.string.paid_for_fuel), R.drawable.ic_fuel))
addItem(PowerMenuItem(getString(R.string.paid_for_help), R.drawable.ic_person_black_24dp))
addItem(PowerMenuItem(getString(R.string.paid_for_overload), R.drawable.ic_blur_circular_black_24dp))
Thanks. The problem really was in the image resources. I had to copy pictures from the drawable-notnight folder to drawable and it's work
Description Bug:
Everything works in light UI mode (Theme.MaterialComponents.DayNight.NoActionBar.Bridge) But when i try to open menu in Dark UI mode application is crashed
my code ->
In Crashlytics error ->
in Logcat ->
I tried to use without and with background colors. An error still exists