forked from UnigramDev/Unigram
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
34 lines (30 loc) · 889 Bytes
/
Copy pathProgram.cs
File metadata and controls
34 lines (30 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//
// Copyright (c) Fela Ameghino 2015-2026
//
// Distributed under the GNU General Public License v3.0. (See accompanying
// file LICENSE or copy at https://www.gnu.org/licenses/gpl-3.0.txt)
//
#if DISABLE_XAML_GENERATED_MAIN
using Telegram.Native;
using Telegram.Services;
namespace Telegram
{
public static class Program
{
static void Main(string[] args)
{
if (AnimationEffects.Supported)
{
AnimationEffects.Initialize();
if (AnimationEffects.Enabled)
{
AnimationEffects.State = AppSettings.AreSmoothTransitionsEnabled
? AnimationEffectsState.Enabled
: AnimationEffectsState.Disabled;
}
}
global::Windows.UI.Xaml.Application.Start((p) => new App());
}
}
}
#endif