@@ -50,6 +50,9 @@
}
- (void)showAlert:(NSString *)msg {
+ if (msg.length == 0) {
+ return;
+ }
[self.view makeToast:msg duration:2.0f position:CSToastPositionCenter];