From 88fddf991d69e7b45f865f6bd1f1c0aa6fce3f0c Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 7 Sep 2022 14:34:06 +0100 Subject: Fix visibility --- rust/src/push/base_rules.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rust/src/push/base_rules.rs b/rust/src/push/base_rules.rs index 5148423949..c33c36ee0f 100644 --- a/rust/src/push/base_rules.rs +++ b/rust/src/push/base_rules.rs @@ -13,25 +13,25 @@ use crate::push::PushRule; use crate::push::SetTweak; use crate::push::TweakValue; -pub(crate) const HIGHLIGHT_ACTION: Action = Action::SetTweak(SetTweak { +const HIGHLIGHT_ACTION: Action = Action::SetTweak(SetTweak { set_tweak: Cow::Borrowed("highlight"), value: None, other_keys: Value::Null, }); -pub(crate) const HIGHLIGHT_FALSE_ACTION: Action = Action::SetTweak(SetTweak { +const HIGHLIGHT_FALSE_ACTION: Action = Action::SetTweak(SetTweak { set_tweak: Cow::Borrowed("highlight"), value: Some(TweakValue::Other(Value::Bool(false))), other_keys: Value::Null, }); -pub(crate) const SOUND_ACTION: Action = Action::SetTweak(SetTweak { +const SOUND_ACTION: Action = Action::SetTweak(SetTweak { set_tweak: Cow::Borrowed("sound"), value: Some(TweakValue::String(Cow::Borrowed("default"))), other_keys: Value::Null, }); -pub(crate) const RING_ACTION: Action = Action::SetTweak(SetTweak { +const RING_ACTION: Action = Action::SetTweak(SetTweak { set_tweak: Cow::Borrowed("sound"), value: Some(TweakValue::String(Cow::Borrowed("ring"))), other_keys: Value::Null, -- cgit 1.5.1