Skip to content

Commit

Permalink
Improve naming for BannerEvent and BannerState
Browse files Browse the repository at this point in the history
  • Loading branch information
gemcoder21 committed Oct 25, 2024
1 parent 3193d94 commit 3a59fa6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions crates/primitives/src/banner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ pub struct Banner {
#[typeshare(swift = "Equatable, CaseIterable, Sendable")]
#[serde(rename_all = "camelCase")]
pub enum BannerEvent {
stake,
account_activation,
enable_notifications,
account_blocked_multisignature,
Stake,
AccountActivation,
EnableNotifications,
AccountBlockedMultiSignature,
}

#[typeshare(swift = "Equatable, CaseIterable, Sendable")]
#[serde(rename_all = "camelCase")]
pub enum BannerState {
active,
cancelled,
always_active,
Active,
Cancelled,
AlwaysActive,
}

0 comments on commit 3a59fa6

Please sign in to comment.