// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "ios/chrome/browser/badges/ui_bundled/badge_tappable_item.h"
#import "ios/chrome/browser/badges/ui_bundled/badge_type.h"
@interface BadgeTappableItem ()
// The BadgeType of this item.
@property(nonatomic, assign) BadgeType badgeType;
@end
@implementation BadgeTappableItem
// Synthesized from protocol.
@synthesize tappable = _tappable;
// Synthesized from protocol.
@synthesize badgeState = _badgeState;
// Synthesized from BadgeItem.
@synthesize fullScreen = _fullScreen;
- (instancetype)initWithBadgeType:(BadgeType)badgeType {
self = [super init];
if (self) {
_badgeType = badgeType;
_tappable = YES;
_badgeState = BadgeStateNone;
_fullScreen = NO;
}
return self;
}
@end