Add native iOS notifications (#64)
This commit is contained in:
@@ -70,6 +70,10 @@ pub struct Preferences {
|
||||
pub pull_filters: BTreeMap<String, PullFilter>,
|
||||
#[serde(default)]
|
||||
pub appearance: AppearanceMode,
|
||||
#[serde(default)]
|
||||
pub notifications_enabled: bool,
|
||||
#[serde(default)]
|
||||
pub notification_cursors: BTreeMap<String, String>,
|
||||
}
|
||||
|
||||
impl Default for Preferences {
|
||||
@@ -84,6 +88,8 @@ impl Default for Preferences {
|
||||
pull_status: open_status(),
|
||||
pull_filters: BTreeMap::new(),
|
||||
appearance: AppearanceMode::default(),
|
||||
notifications_enabled: false,
|
||||
notification_cursors: BTreeMap::new(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user