Implicitly enable threads if archived threads are enabled in GUI

This commit is contained in:
Tyrrrz 2023-08-28 21:09:42 +03:00
parent 6fb6108610
commit f1c094ac14

View file

@ -35,7 +35,14 @@ public class SettingsViewModel : DialogScreen
public bool ShouldShowArchivedThreads
{
get => _settingsService.ShouldShowArchivedThreads;
set => _settingsService.ShouldShowArchivedThreads = value;
set
{
_settingsService.ShouldShowArchivedThreads = value;
// Enabling archived threads implicitly enables threads
if (value)
ShouldShowThreads = true;
}
}
public string DateFormat