refactor(settings): remove the Updates page until an updater exists

This commit is contained in:
2026-07-10 11:34:26 -04:00
parent 91e0e4522f
commit 07cd598f75
11 changed files with 8 additions and 260 deletions
-2
View File
@@ -21,7 +21,6 @@ mod split;
mod sync;
mod tab;
mod tab_group;
mod update;
mod url_text;
pub use appearance::{
@@ -72,5 +71,4 @@ pub use tab::{
ZOOM_PERCENT_STEP, parse_title_unread_count, validate_zoom_percent,
};
pub use tab_group::TabGroup;
pub use update::UpdatePolicy;
pub use url_text::UrlText;
-26
View File
@@ -1,26 +0,0 @@
#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
pub enum UpdatePolicy {
#[default]
Automatic,
Manual,
}
impl UpdatePolicy {
pub const ALL: &[Self] = &[Self::Automatic, Self::Manual];
#[must_use]
pub fn name(self) -> &'static str {
match self {
Self::Automatic => "Automatic",
Self::Manual => "Manual",
}
}
#[must_use]
pub fn detail(self) -> &'static str {
match self {
Self::Automatic => "Use release manifests as the automatic update source.",
Self::Manual => "Keep release manifest checks user-initiated.",
}
}
}