feat: add Nav tag, enhance footer.

This commit is contained in:
Zhang Dian
2025-02-13 21:31:42 +08:00
parent 717509d1d4
commit 346c89424f
4 changed files with 40 additions and 38 deletions

View File

@@ -107,6 +107,15 @@ public partial class MainViewViewModel : ViewModelBase
app.RequestedThemeVariant = newValue.Theme;
}
}
[ObservableProperty] private string? _footerText = "Settings";
[ObservableProperty] private bool _isCollapsed;
partial void OnIsCollapsedChanged(bool value)
{
FooterText = value ? null : "Settings";
}
}
public class ThemeItem(string name, ThemeVariant theme)