Fix mystery NPE
This commit is contained in:
parent
2b1309bb69
commit
c063ee58b5
@ -731,7 +731,7 @@ public class ThemeActivity extends BaseFragment implements NotificationCenter.No
|
||||
} else if (id == NotificationCenter.themeUploadError) {
|
||||
Theme.ThemeInfo themeInfo = (Theme.ThemeInfo) args[0];
|
||||
Theme.ThemeAccent accent = (Theme.ThemeAccent) args[1];
|
||||
if (themeInfo == sharingTheme && accent == sharingAccent && sharingProgressDialog == null) {
|
||||
if (themeInfo == sharingTheme && accent == sharingAccent && sharingProgressDialog != null) {
|
||||
sharingProgressDialog.dismiss();
|
||||
}
|
||||
} else if (id == NotificationCenter.needShareTheme) {
|
||||
|
Loading…
Reference in New Issue
Block a user