feat: add Nav tag, enhance footer.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user