Skip to content

Commit

Permalink
small optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-weber committed Oct 7, 2023
1 parent 1545f2e commit 2c503cb
Show file tree
Hide file tree
Showing 9 changed files with 169 additions and 206 deletions.
3 changes: 3 additions & 0 deletions Project2FA.Shared/Strings/de/Resources.resw
Original file line number Diff line number Diff line change
Expand Up @@ -1196,4 +1196,7 @@ In den nachfolgenden Abschnitten wird die Funktionalität dieser Anwendung detai
<data name="BTNBack.Content" xml:space="preserve">
<value>Zurück</value>
</data>
<data name="NewDataFilePageChangePath.Content" xml:space="preserve">
<value>Ordnerpfad wählen</value>
</data>
</root>
3 changes: 3 additions & 0 deletions Project2FA.Shared/Strings/en/Resources.resw
Original file line number Diff line number Diff line change
Expand Up @@ -1189,4 +1189,7 @@ The functionality of this application is explained in more detail in the followi
<data name="BTNBack.Content" xml:space="preserve">
<value>Back</value>
</data>
<data name="NewDataFilePageChangePath.Content" xml:space="preserve">
<value>Choose folder path</value>
</data>
</root>
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ private void Current_Activated(object sender, WindowActivatedEventArgs e)
public async Task ScanClipboardQRCode()
{
// TODO option for clippingMode via settings page for 1.3.0 version
// clippingMode Values supported include: Rectangle, Freeform, Window
// clippingMode Values supported include: Rectangle, Freeform, Window, Fullscreen, Recording
bool result = await Windows.System.Launcher.LaunchUriAsync(new Uri(
string.Format("ms-screenclip:edit?source={0}&delayInSeconds={1}&clippingMode=Rectangle",
Strings.Resources.ApplicationName,
Expand Down
1 change: 0 additions & 1 deletion Project2FA/Project2FA.UWP/Utils/CustomRichTextFormatter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using Microsoft.Toolkit.Uwp.UI.Controls.TextToolbarButtons;
using Microsoft.Toolkit.Uwp.UI.Controls.TextToolbarButtons.Common;
using Microsoft.Toolkit.Uwp.UI.Controls.TextToolbarFormats;
using Microsoft.Toolkit.Uwp.UI.Controls.TextToolbarFormats.RichText;
using Windows.System;
using Windows.UI.Text;
using Windows.UI.Xaml.Controls;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
using Project2FA.Services;
using Prism.Ioc;
using Windows.UI.Xaml;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Project2FA.Core;
using Project2FA.ViewModels;
using UNOversal.Services.Secrets;
using UNOversal.Services.Serialization;
using Project2FA.Core.Services.Crypto;

namespace Project2FA.UWP.Views
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
using CommunityToolkit.Labs.WinUI;
using Microsoft.Toolkit.Uwp.UI.Controls.TextToolbarButtons;
using Project2FA.Repository.Models;
using Project2FA.Repository.Models;
using Project2FA.Services;
using Project2FA.Services.Enums;
using Project2FA.UWP.Extensions;
using Project2FA.ViewModels;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
using Project2FA.ViewModels;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;

namespace Project2FA.UWP.Views
{
Expand Down
329 changes: 160 additions & 169 deletions Project2FA/Project2FA.UWP/Views/NewDataFilePage.xaml

Large diffs are not rendered by default.

12 changes: 0 additions & 12 deletions Project2FA/Project2FA.UWP/Views/TutorialPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
using Microsoft.Toolkit.Uwp.UI;
using Microsoft.UI.Xaml.Controls;
using Project2FA.UWP.Controls;
using Project2FA.ViewModels;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using System.Xml.Linq;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.System;
using Windows.UI;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;

namespace Project2FA.UWP.Views
{
Expand Down

0 comments on commit 2c503cb

Please sign in to comment.