Aidan Follestad 10 years ago
parent
commit
192ad6a6ad

+ 2 - 2
library/build.gradle

@@ -9,7 +9,7 @@ android {
         minSdkVersion 8
         targetSdkVersion 22
         versionCode 1
-        versionName "0.7.2.1"
+        versionName "0.7.2.2"
     }
     lintOptions {
         abortOnError false
@@ -28,7 +28,7 @@ publish {
     userOrg = 'drummer-aidan'
     groupId = 'com.afollestad'
     artifactId = 'material-dialogs'
-    version = '0.7.2.1'
+    version = '0.7.2.2'
     description = 'A library for implementing Material design styled dialogs across all versions of Android.'
     website = 'https://github.com/afollestad/material-dialogs'
     issueTracker = "${website}/issues"

+ 2 - 1
library/src/main/java/com/afollestad/materialdialogs/MaterialDialog.java

@@ -447,7 +447,8 @@ public class MaterialDialog extends DialogBase implements
         private void checkSingleton() {
             if (ThemeSingleton.get(false) == null) return;
             ThemeSingleton s = ThemeSingleton.get();
-            theme(s.darkTheme ? Theme.DARK : Theme.LIGHT);
+            if (s.darkTheme)
+                this.theme = Theme.DARK;
             if (s.titleColor != 0)
                 this.titleColor = s.titleColor;
             if (s.contentColor != 0)

+ 2 - 2
sample/build.gradle

@@ -17,8 +17,8 @@ android {
         applicationId "com.afollestad.materialdialogssample"
         minSdkVersion 9
         targetSdkVersion 22
-        versionCode 110
-        versionName "0.7.2.1"
+        versionCode 111
+        versionName "0.7.2.2"
     }
     lintOptions {
         abortOnError false