mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-05 13:38:01 +00:00
feat(junk): add junk action on mail view
This commit is contained in:
@@ -481,6 +481,21 @@
|
||||
return [self objectForKey: @"SOGoMailJunkSettings"];
|
||||
}
|
||||
|
||||
- (NSString *) mailJunkIcon
|
||||
{
|
||||
NSArray *iconsList;
|
||||
NSString *icon;
|
||||
|
||||
iconsList = [NSArray arrayWithObjects: @"thumb_down", @"gpp_bad", nil];
|
||||
icon = [self objectForKey: @"mailJunkIcon"];
|
||||
if (([icon length] && ![iconsList containsObject:icon]) || ![icon length])
|
||||
{
|
||||
icon = @"thumb_down";
|
||||
}
|
||||
|
||||
return icon;
|
||||
}
|
||||
|
||||
- (BOOL) createIdentitiesDisabled
|
||||
{
|
||||
return [self boolForKey: @"SOGoCreateIdentitiesDisabled"];
|
||||
|
||||
Reference in New Issue
Block a user