mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-06-22 05:47:28 +02:00
Version 3.0.337
This commit is contained in:
parent
fd0e63cf10
commit
573fe77e12
2336 changed files with 33688 additions and 86082 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue