diff --git a/app/build.gradle b/app/build.gradle index 59ee6d25a..203c1aa33 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -193,7 +193,7 @@ dependencies { implementation 'com.github.tfcporciuncula:flow-preferences:1.1.1' // Model View Presenter - final nucleus_version = '3.0.0' + final nucleus_version = '6.0.0' implementation "info.android15.nucleus:nucleus:$nucleus_version" implementation "info.android15.nucleus:nucleus-support-v7:$nucleus_version" diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index c9200b781..5b3943f6e 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -19,7 +19,9 @@ -keep class com.hippo.image.** { *; } -keep interface com.hippo.image.** { *; } --dontwarn nucleus.view.NucleusActionBarActivity +-keepclassmembers class * extends nucleus.presenter.Presenter { + (); +} # OkHttp -dontwarn okhttp3.**