|
@@ -249,16 +249,6 @@
|
|
|
#pragma mark ==== DZNEmptyDataSetSource Methods ====
|
|
|
#pragma --------------------------------------------------------------------------------------------
|
|
|
|
|
|
-- (BOOL)emptyDataSetShouldDisplay:(UIScrollView *)scrollView
|
|
|
-{
|
|
|
- return YES;
|
|
|
-}
|
|
|
-
|
|
|
-- (CGFloat)spaceHeightForEmptyDataSet:(UIScrollView *)scrollView
|
|
|
-{
|
|
|
- return 0.0f;
|
|
|
-}
|
|
|
-
|
|
|
- (UIColor *)backgroundColorForEmptyDataSet:(UIScrollView *)scrollView
|
|
|
{
|
|
|
return [UIColor whiteColor];
|
|
@@ -266,14 +256,14 @@
|
|
|
|
|
|
- (UIImage *)imageForEmptyDataSet:(UIScrollView *)scrollView
|
|
|
{
|
|
|
- return [UIImage imageNamed:image_brandBackgroundLite];
|
|
|
+ return [UIImage imageNamed:image_photosNoRecord];
|
|
|
}
|
|
|
|
|
|
- (NSAttributedString *)titleForEmptyDataSet:(UIScrollView *)scrollView
|
|
|
{
|
|
|
- NSString *text = [NSString stringWithFormat:@"%@", @""];
|
|
|
+ NSString *text = [NSString stringWithFormat:@"\n%@", NSLocalizedString(@"_tutorial_photo_view_", nil)];
|
|
|
|
|
|
- NSDictionary *attributes = @{NSFontAttributeName:[UIFont boldSystemFontOfSize:20.0f], NSForegroundColorAttributeName:COLOR_BRAND};
|
|
|
+ NSDictionary *attributes = @{NSFontAttributeName:[UIFont boldSystemFontOfSize:20.0f], NSForegroundColorAttributeName:[UIColor lightGrayColor]};
|
|
|
|
|
|
return [[NSAttributedString alloc] initWithString:text attributes:attributes];
|
|
|
}
|
|
@@ -286,7 +276,7 @@
|
|
|
NSString *text;
|
|
|
|
|
|
if ([CCCoreData getCameraUploadActiveAccount:app.activeAccount])
|
|
|
- text = [NSString stringWithFormat:@"\n%@", NSLocalizedString(@"_tutorial_photo_view_", nil)];
|
|
|
+ text = [NSString stringWithFormat:@"%@", @"\n\n\n\n"];
|
|
|
else
|
|
|
text = [NSString stringWithFormat:@"\n%@\n", NSLocalizedString(@"_tutorial_camera_upload_view_", nil)];
|
|
|
|