File tree Expand file tree Collapse file tree
src/main/java/ui/android/dialogalchemy/stone Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ repositories {
2020}
2121dependencies {
2222 ...
23- compile 'com.github.NeoLSN:DialogAlchemy:1.1.1 '
23+ compile 'com.github.NeoLSN:DialogAlchemy:1.1.2 '
2424}
2525```
2626API
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ buildscript {
66 }
77 dependencies {
88 classpath ' com.android.tools.build:gradle:2.1.2'
9- classpath ' com.github.dcendents:android-maven-gradle-plugin:1.3 '
9+ classpath ' com.github.dcendents:android-maven-gradle-plugin:1.4 '
1010
1111 // NOTE: Do not place your application dependencies here; they belong
1212 // in the individual module build.gradle files
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-2.13 -all.zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-2.14 -all.zip
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
22apply plugin : ' com.github.dcendents.android-maven'
33
44group = ' com.github.NeoLSN'
5- version = ' 1.1.1 '
5+ version = ' 1.1.2 '
66
77android {
88 compileSdkVersion 24
Original file line number Diff line number Diff line change 1111import android .support .annotation .StringRes ;
1212import android .text .Spannable ;
1313import android .text .SpannableString ;
14- import android .text .TextUtils ;
1514import android .text .style .StyleSpan ;
1615import android .widget .ProgressBar ;
1716import android .widget .TextView ;
@@ -73,11 +72,6 @@ public int getLayoutResId() {
7372 @ NonNull
7473 @ Override
7574 public Material mergeMaterial (@ NonNull Context context , @ NonNull Material material ) {
76- if (TextUtils .isEmpty (material .getPositiveButtonText ())) {
77- Material .Builder builder = material .rebuild (context );
78- builder .setPositiveButton (android .R .string .ok , null );
79- material = builder .build ();
80- }
8175 return material ;
8276 }
8377
You can’t perform that action at this time.
0 commit comments