Skip to content

Commit

Permalink
Add instance obsolete message
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack251970 committed Feb 23, 2025
1 parent d4f9099 commit e989b5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Flow.Launcher.Core/Resource/InternationalizationManager.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
using CommunityToolkit.Mvvm.DependencyInjection;
using System;
using CommunityToolkit.Mvvm.DependencyInjection;

namespace Flow.Launcher.Core.Resource
{
[Obsolete("InternationalizationManager.Instance is obsolete. Use Ioc.Default.GetRequiredService<Internationalization>() instead.")]
public static class InternationalizationManager
{
public static Internationalization Instance
Expand Down
4 changes: 3 additions & 1 deletion Flow.Launcher.Core/Resource/ThemeManager.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
using CommunityToolkit.Mvvm.DependencyInjection;
using System;
using CommunityToolkit.Mvvm.DependencyInjection;

namespace Flow.Launcher.Core.Resource
{
[Obsolete("ThemeManager.Instance is obsolete. Use Ioc.Default.GetRequiredService<Theme>() instead.")]
public class ThemeManager
{
public static Theme Instance
Expand Down

0 comments on commit e989b5a

Please sign in to comment.