Skip to content

Commit

Permalink
Update for v3.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sarsamurmu committed Jul 1, 2023
1 parent 37f9f0a commit d90e27a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 19 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ dependencies {
* If you've missed some versions you've to also follow update guide for those versions
*/

implementation 'com.github.zixpo:candybar:3.17.5'
implementation 'com.github.zixpo:candybar:3.18.0'

// TODO: Remove `//` below to enable OneSignal
//implementation 'com.onesignal:OneSignal:[4.0.0, 4.99.99]'
Expand Down
23 changes: 5 additions & 18 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,27 +1,14 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in D:\AndroidSDK/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

-optimizationpasses 5
-overloadaggressively
-dontpreverify
-repackageclasses 'o'
-allowaccessmodification

-keep class **.R
-keep class **.R$* {
<fields>;
}

# Keep the source line when using ProGuard
-keepattributes SourceFile,LineNumberTable
-renamesourcefileattribute SourceFile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// TODO: Remove `//` below to enable OneSignal
//import com.onesignal.OneSignal;

import com.candybar.sample.R;

import candybar.lib.applications.CandyBarApplication;

public class CandyBar extends CandyBarApplication {
Expand All @@ -21,6 +23,12 @@ public void onCreate() {
}
*/

@NonNull
@Override
public Class<?> getDrawableClass() {
return R.drawable.class;
}

@NonNull
@Override
public Configuration onInit() {
Expand Down

0 comments on commit d90e27a

Please sign in to comment.