private void UpdateModels() { _conversationWindowModel = new ConversationWindowModel(_displayOptions, _phoneSelectOptions); _conversationWindowModel.ConversationManager = _conversationManager; _conversationWindowModel.DeviceInfo = _deviceInfo; _graphWindowModel = new GraphWindowModel(_displayOptions, _phoneSelectOptions); _graphWindowModel.ConversationManager = _conversationManager; _graphWindowModel.DeviceInfo = _deviceInfo; SetApplicationView(_currentView); }
private void VerifyDefaultConversationModelSettings(IConversationWindowModel model) { Assert.AreEqual(MockDisplayOptions.HideEmptyConversationsDefault, model.DisplayOptions.HideEmptyConversations); Assert.AreEqual(MockDisplayOptions.MergeContactsDefault, model.DisplayOptions.MergeContacts); Assert.AreEqual(MockDisplayOptions.TimeDisplayFormatDefault, model.DisplayOptions.TimeDisplayFormat); }