Commit d22ff2b 1 parent 78851aa commit d22ff2b Copy full SHA for d22ff2b
File tree 17 files changed +29
-33
lines changed
org.nickvision.money.winui
17 files changed +29
-33
lines changed Original file line number Diff line number Diff line change 5
5
* .ico binary
6
6
* .pdf binary
7
7
* .exe binary
8
+ * .otf binary
9
+ * .ttf binary
8
10
# Exclude Docs From Stats
9
11
docs /** linguist-documentation
Original file line number Diff line number Diff line change 1
1
#include " models/currencyconversionservice.h"
2
+ #include < cstdint>
2
3
#include < chrono>
3
4
#include < filesystem>
4
5
#include < fstream>
@@ -33,8 +34,8 @@ namespace Nickvision::Money::Shared::Models
33
34
{
34
35
std::ifstream in{ path };
35
36
in >> json;
36
- long seconds{ json.get (" time_next_update_unix" , 0 ).asInt64 () };
37
- long secondsNow{ std::chrono::duration_cast<std::chrono::seconds>(std::chrono::system_clock::now ().time_since_epoch ()).count () };
37
+ std:: int64_t seconds{ json.get (" time_next_update_unix" , 0 ).asInt64 () };
38
+ std:: int64_t secondsNow{ std::chrono::duration_cast<std::chrono::seconds>(std::chrono::system_clock::now ().time_since_epoch ()).count () };
38
39
if (seconds <= secondsNow)
39
40
{
40
41
needsUpdate = true ;
Original file line number Diff line number Diff line change 1
- namespace Nickvision.Application .WinUI
1
+ namespace Nickvision.Money .WinUI
2
2
{
3
3
}
Original file line number Diff line number Diff line change 1
1
<Application
2
- x : Class =" Nickvision.Application .WinUI.App"
2
+ x : Class =" Nickvision.Money .WinUI.App"
3
3
xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4
4
xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml" >
5
5
<Application .Resources>
Original file line number Diff line number Diff line change 1
- namespace Nickvision.Application .WinUI.Controls
1
+ namespace Nickvision.Money .WinUI.Controls
2
2
{
3
3
[default_interface]
4
4
runtimeclass SettingsRow : Microsoft.UI.Xaml.Controls.UserControl, Microsoft.UI.Xaml.Data.INotifyPropertyChanged
Original file line number Diff line number Diff line change 1
1
<UserControl
2
- x : Class =" Nickvision.Application .WinUI.Controls.SettingsRow"
2
+ x : Class =" Nickvision.Money .WinUI.Controls.SettingsRow"
3
3
xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4
4
xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
5
- xmlns : local =" using:Nickvision.Application .WinUI.Controls"
5
+ xmlns : local =" using:Nickvision.Money .WinUI.Controls"
6
6
xmlns : d =" http://schemas.microsoft.com/expression/blend/2008"
7
7
xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
8
8
mc : Ignorable =" d" >
Original file line number Diff line number Diff line change 1
- namespace Nickvision.Application .WinUI.Controls
1
+ namespace Nickvision.Money .WinUI.Controls
2
2
{
3
3
[default_interface]
4
4
runtimeclass StatusPage : Microsoft.UI.Xaml.Controls.UserControl, Microsoft.UI.Xaml.Data.INotifyPropertyChanged
Original file line number Diff line number Diff line change 1
1
<UserControl
2
- x : Class =" Nickvision.Application .WinUI.Controls.StatusPage"
2
+ x : Class =" Nickvision.Money .WinUI.Controls.StatusPage"
3
3
xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4
4
xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
5
- xmlns : local =" using:Nickvision.Application .WinUI.Controls"
5
+ xmlns : local =" using:Nickvision.Money .WinUI.Controls"
6
6
xmlns : d =" http://schemas.microsoft.com/expression/blend/2008"
7
7
xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
8
8
mc : Ignorable =" d" HorizontalAlignment =" Center" VerticalAlignment =" Center" >
Original file line number Diff line number Diff line change 1
- namespace Nickvision.Application .WinUI.Controls
1
+ namespace Nickvision.Money .WinUI.Controls
2
2
{
3
3
[default_interface]
4
4
runtimeclass ViewStack : Microsoft.UI.Xaml.Controls.Frame
Original file line number Diff line number Diff line change 1
1
<Frame
2
- x : Class =" Nickvision.Application .WinUI.Controls.ViewStack"
2
+ x : Class =" Nickvision.Money .WinUI.Controls.ViewStack"
3
3
xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4
4
xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
5
- xmlns : local =" using:Nickvision.Application .WinUI.Controls"
5
+ xmlns : local =" using:Nickvision.Money .WinUI.Controls"
6
6
xmlns : d =" http://schemas.microsoft.com/expression/blend/2008"
7
7
xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
8
8
mc : Ignorable =" d" HorizontalAlignment =" Stretch" VerticalAlignment =" Stretch" HorizontalContentAlignment =" Stretch" VerticalContentAlignment =" Stretch" >
Original file line number Diff line number Diff line change 1
- namespace Nickvision.Application .WinUI.Controls
1
+ namespace Nickvision.Money .WinUI.Controls
2
2
{
3
3
[default_interface]
4
4
runtimeclass ViewStackPage : Microsoft.UI.Xaml.Controls.Frame
Original file line number Diff line number Diff line change 1
1
<Frame
2
- x : Class =" Nickvision.Application .WinUI.Controls.ViewStackPage"
2
+ x : Class =" Nickvision.Money .WinUI.Controls.ViewStackPage"
3
3
xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4
4
xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
5
- xmlns : local =" using:Nickvision.Application .WinUI.Controls"
5
+ xmlns : local =" using:Nickvision.Money .WinUI.Controls"
6
6
xmlns : d =" http://schemas.microsoft.com/expression/blend/2008"
7
7
xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
8
8
mc : Ignorable =" d" HorizontalAlignment =" Stretch" VerticalAlignment =" Stretch" HorizontalContentAlignment =" Stretch" VerticalContentAlignment =" Stretch" >
Original file line number Diff line number Diff line change 1
- namespace Nickvision.Application .WinUI
1
+ namespace Nickvision.Money .WinUI
2
2
{
3
3
[default_interface]
4
4
runtimeclass MainWindow : Microsoft.UI.Xaml.Window
Original file line number Diff line number Diff line change 1
1
<Window
2
- x:Class=" Nickvision.Application .WinUI.MainWindow"
2
+ x:Class=" Nickvision.Money .WinUI.MainWindow"
3
3
xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4
4
xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml"
5
- xmlns:local=" using:Nickvision.Application .WinUI"
6
- xmlns : nickvision =" using:Nickvision.Application .WinUI.Controls"
5
+ xmlns:local=" using:Nickvision.Money .WinUI"
6
+ xmlns : nickvision =" using:Nickvision.Money .WinUI.Controls"
7
7
xmlns:d=" http://schemas.microsoft.com/expression/blend/2008"
8
8
xmlns:mc=" http://schemas.openxmlformats.org/markup-compatibility/2006"
9
9
mc:Ignorable=" d" Activated =" OnActivated" >
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ namespace winrt::Nickvision::Money::WinUI::implementation
167
167
IVectorView<IStorageItem> items{ co_await args.DataView ().GetStorageItemsAsync () };
168
168
if (items.Size () > 0 )
169
169
{
170
- m_controller-> openFolder ( winrt::to_string (items. GetAt ( 0 ). Path ()));
170
+
171
171
}
172
172
}
173
173
}
@@ -215,14 +215,7 @@ namespace winrt::Nickvision::Money::WinUI::implementation
215
215
}
216
216
if (args.getAction () == " error" )
217
217
{
218
- if (m_controller->isFolderOpened ())
219
- {
220
- NavViewFolder ().IsSelected (true );
221
- }
222
- else
223
- {
224
- NavViewHome ().IsSelected (true );
225
- }
218
+ NavViewHome ().IsSelected (true );
226
219
}
227
220
else if (args.getAction () == " update" )
228
221
{
Original file line number Diff line number Diff line change 1
- namespace Nickvision.Application .WinUI
1
+ namespace Nickvision.Money .WinUI
2
2
{
3
3
[default_interface]
4
4
runtimeclass SettingsPage : Microsoft.UI.Xaml.Controls.UserControl
Original file line number Diff line number Diff line change 1
1
<UserControl
2
- x : Class =" Nickvision.Application .WinUI.SettingsPage"
2
+ x : Class =" Nickvision.Money .WinUI.SettingsPage"
3
3
xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4
4
xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
5
- xmlns : local =" using:Nickvision.Application .WinUI"
6
- xmlns : nickvision =" using:Nickvision.Application .WinUI.Controls"
5
+ xmlns : local =" using:Nickvision.Money .WinUI"
6
+ xmlns : nickvision =" using:Nickvision.Money .WinUI.Controls"
7
7
xmlns : d =" http://schemas.microsoft.com/expression/blend/2008"
8
8
xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
9
9
mc : Ignorable =" d" >
You can’t perform that action at this time.
0 commit comments