SimpleStorage icon indicating copy to clipboard operation
SimpleStorage copied to clipboard

Compatible with Jetpack Compose

Open youfeng11 opened this issue 7 months ago • 0 comments

Library version: 2.0.0 OS version: [N/A] Device model: [N/A]

Describe the bug In the Compose project, any scene displaying MaterialDialog will cause a crash

Moreover, as a tool library, one should try to avoid manipulating the UI as much as possible

Stopping the use of MaterialDialog should solve this problem

Stacktrace Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:902) ... at androidx.appcompat.app.AlertDialog$Builder.show(AlertDialog.java:1008)

youfeng11 avatar Apr 30 '25 11:04 youfeng11