Version 3.0.337

This commit is contained in:
Anja Müller-Meißner 2022-08-30 15:42:25 +02:00
parent fd0e63cf10
commit 573fe77e12
2336 changed files with 33688 additions and 86082 deletions

View file

@ -87,11 +87,13 @@ namespace TINK.ViewModel.Root
p_oType,
m_oEntryDictionary.Count);
MenuItems.Add(new RootPageFlyoutMenuItem {
MenuItems.Add(new RootPageFlyoutMenuItem
{
TargetType = p_oType,
GlyphCode = Helper.GetGlyphCode(p_oType),
Title = Helper.GetCaption(p_oType),
Id = m_oEntryDictionary[p_oType] }) ;
Id = m_oEntryDictionary[p_oType]
});
}
/// <summary> Removes a page from menu.</summary>
@ -119,7 +121,7 @@ namespace TINK.ViewModel.Root
// Update flyout view model whenever theme is switched.
App.ModelRoot.Themes.PropertyChanged += (sender, eventargs) =>
{
if (!(sender is ServicesContainerMutable<object> themes))
if (!(sender is ServicesContainerMutableT<object> themes))
return;
MasterDetailMenuTitlte = GetMasterDetailMenuTitle(themes.Active);

View file

@ -1,9 +1,9 @@
using TINK.MultilingualResources;
using TINK.ViewModel.Info;
using TINK.Services.CopriApi.ServerUris;
using System.ComponentModel;
using TINK.View.Themes;
using System.ComponentModel;
using TINK.MultilingualResources;
using TINK.Services;
using TINK.Services.CopriApi.ServerUris;
using TINK.View.Themes;
using TINK.ViewModel.Info;
namespace TINK.ViewModel.RootShell
{
@ -24,7 +24,7 @@ namespace TINK.ViewModel.RootShell
// Update flyout view model whenever theme is switched.
App.ModelRoot.Themes.PropertyChanged += (sender, eventargs) =>
{
if (!(sender is ServicesContainerMutable<object> themes))
if (!(sender is ServicesContainerMutableT<object> themes))
return;
MasterDetailMenuTitlte = GetMasterDetailMenuTitle(themes.Active);

View file

@ -1,7 +1,7 @@
using Serilog;
using System.IO;
using System.IO;
using System.Reflection;
using System.Text;
using Serilog;
namespace TINK.ViewModel
{
@ -30,7 +30,7 @@ namespace TINK.ViewModel
public static string GetSource(string resrouceName)
{
var l_oRessourceName = RessourcePrefix + resrouceName;
Log.Verbose($"Using this resource prefix { RessourcePrefix}.");
Log.Verbose($"Using this resource prefix {RessourcePrefix}.");
// note that the prefix includes the trailing period '.' that is required
var assembly = typeof(ViewModelResourceHelper).GetTypeInfo().Assembly;
var stream = assembly.GetManifestResourceStream(l_oRessourceName);