From 93da059454944c017496e0611c5c57ee81736698 Mon Sep 17 00:00:00 2001 From: Roman Bug Date: Tue, 27 Oct 2020 15:44:35 +0300 Subject: [PATCH] Update viewmodels.md --- doc/devdocs/settingsv2/viewmodels.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/devdocs/settingsv2/viewmodels.md b/doc/devdocs/settingsv2/viewmodels.md index 351f3211ff..18efd6344f 100644 --- a/doc/devdocs/settingsv2/viewmodels.md +++ b/doc/devdocs/settingsv2/viewmodels.md @@ -3,7 +3,7 @@ The viewmodels are located within the [`Microsoft.PowerToys.Settings.UI.Library` ## Components - Each viewmodel takes in the general `settingsRepository`, the `moduleSettingsRepository` if it exists and the delegates for IPC communication. -- The general `settingsRepository` contains the general configurations of all powertoys whereas the `moduleSettingsRepository` is spcific to the module. This is to ensure that the configuration details are shared amongst the viewmodels without having to re-open the `settings.json` file. +- The general `settingsRepository` contains the general configurations of all powertoys whereas the `moduleSettingsRepository` is specific to the module. This is to ensure that the configuration details are shared amongst the viewmodels without having to re-open the `settings.json` file. - Whenever there is a change in the UI, the `OnPropertyChanged` event is invoked and the viewmodel sends a corresponding IPC message to the runner which would perform the designated action such as dispatching the change to the modules or enabling/disabling the powertoy etc. #### Difference between viewmodels