Skip to content

Commit 797ff13

Browse files
committed
remove test code
1 parent d629b3f commit 797ff13

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

Source/OxyplotMauiSample/App.xaml.cs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,5 @@ public App()
77
InitializeComponent();
88
MainPage = new AppShell();
99
}
10-
11-
//private async void InitFonts()
12-
//{
13-
// var cacheDir = FileSystem.Current.CacheDirectory;
14-
// var fontsDir = Path.Combine(cacheDir, "oxyplot_fonts");
15-
// //MauiPlotSetting.CustomFontsDirectory = fontsDir;
16-
17-
// var fontFileName = "NotoSansCJKsc-Regular.otf";
18-
// var fontFileFullPath = Path.Combine(fontsDir, fontFileName);
19-
// if (File.Exists(fontFileFullPath))
20-
// return;
21-
22-
// Directory.CreateDirectory(fontsDir);
23-
// var fs = await FileSystem.OpenAppPackageFileAsync(fontFileName);
24-
// await using var fileStream = File.Create(fontFileFullPath);
25-
// await fs.CopyToAsync(fileStream);
26-
//}
2710
}
2811
}

0 commit comments

Comments
 (0)