Skip to content

Commit eb4eeee

Browse files
v4
1 parent 1451262 commit eb4eeee

File tree

160 files changed

+881
-466
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+881
-466
lines changed

CubeKit.UI/Styles/CubeThemeDictionary.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<SolidColorBrush x:Key="ResponsiveAccentBrush2" Color="{ThemeResource SystemAccentColorDark2}"/>
6767
<SolidColorBrush x:Key="ResponsiveAccentBrush1" Color="{ThemeResource SystemAccentColorDark1}"/>
6868
<SolidColorBrush x:Key="MicaBrush" Color="#FCFCFC" Opacity="0.8"/>
69-
<SolidColorBrush x:Key="MicaDarkBrush" Color="#161616" Opacity="0.4"/>
69+
<SolidColorBrush x:Key="MicaDarkBrush" Color="#E9E9E9" Opacity="0.4"/>
7070
<SolidColorBrush x:Key="MicaBorderBrush" Color="#757575" Opacity="0.4"/>
7171
<SolidColorBrush x:Key="BorderHighContrastBrush" Color="Transparent" />
7272
</ResourceDictionary>

FluentFlyouts.Core.Tests/UnitTests/BatteryRepositoryTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using FluentFlyouts.Core.EFCore;
2-
using FluentFlyouts.Core.EFCore.Models;
3-
using FluentFlyouts.Core.EFCore.Repositories;
1+
using FluentFlyouts.Core.Battery.EFCore;
2+
using FluentFlyouts.Core.Battery.EFCore.Models;
3+
using FluentFlyouts.Core.Battery.EFCore.Repositories;
44
using Microsoft.Data.Sqlite;
55
using Microsoft.EntityFrameworkCore;
66
using Microsoft.Extensions.DependencyInjection;

FluentFlyouts.Core/Classes/Battery.cs renamed to FluentFlyouts.Core/Battery/Classes/Battery.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Text;
55
using System.Threading.Tasks;
66

7-
namespace FluentFlyouts.Core.Classes
7+
namespace FluentFlyouts.Core.Battery.Classes
88
{
99
public record Battery(double Percentage);
1010
}

FluentFlyouts.Core/EFCore/FlyoutDBContext.cs renamed to FluentFlyouts.Core/Battery/EFCore/FlyoutDBContext.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
using FluentFlyouts.Core.EFCore.Models;
1+
using FluentFlyouts.Core.Battery.EFCore.Models;
22
using Microsoft.EntityFrameworkCore;
33
using System;
44
using System.Collections.Generic;
55
using System.Linq;
66
using System.Text;
77
using System.Threading.Tasks;
88

9-
namespace FluentFlyouts.Core.EFCore
9+
namespace FluentFlyouts.Core.Battery.EFCore
1010
{
1111
public class FlyoutDBContext : DbContext
1212
{
@@ -19,7 +19,7 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
1919
base.OnModelCreating(modelBuilder);
2020

2121
// Set a composite key
22-
modelBuilder.Entity<BatteryHistory>().HasKey(x => new {x.Percentage, x.Time});
22+
modelBuilder.Entity<BatteryHistory>().HasKey(x => new { x.Percentage, x.Time });
2323
}
2424
}
2525
}

FluentFlyouts.Core/EFCore/Models/BatteryHistory.cs renamed to FluentFlyouts.Core/Battery/EFCore/Models/BatteryHistory.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
using System.Text;
55
using System.Threading.Tasks;
66

7-
namespace FluentFlyouts.Core.EFCore.Models
7+
namespace FluentFlyouts.Core.Battery.EFCore.Models
88
{
99
public class BatteryHistory
1010
{
1111
public double Percentage { get; set; }
1212
public DateTime Time { get; set; }
1313

14-
public BatteryHistory(double percentage, DateTime time)
14+
public BatteryHistory(double percentage, DateTime time)
1515
{
1616
Percentage = percentage;
1717
Time = time;

FluentFlyouts.Core/EFCore/Repositories/BatteryRepository.cs renamed to FluentFlyouts.Core/Battery/EFCore/Repositories/BatteryRepository.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1-
using FluentFlyouts.Core.EFCore.Models;
1+
using FluentFlyouts.Core.Battery.EFCore;
2+
using FluentFlyouts.Core.Battery.EFCore.Models;
23
using System;
34
using System.Collections.Generic;
45
using System.Linq;
56
using System.Text;
67
using System.Threading.Tasks;
78

8-
namespace FluentFlyouts.Core.EFCore.Repositories
9+
namespace FluentFlyouts.Core.Battery.EFCore.Repositories
910
{
1011
public class BatteryRepository : IBatteryRepository
1112
{
1213
private FlyoutDBContext Context;
13-
public BatteryRepository(FlyoutDBContext context)
14+
public BatteryRepository(FlyoutDBContext context)
1415
{
1516
Context = context;
1617
}

FluentFlyouts.Core/EFCore/Repositories/IBatteryRepository.cs renamed to FluentFlyouts.Core/Battery/EFCore/Repositories/IBatteryRepository.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
using FluentFlyouts.Core.EFCore.Models;
1+
using FluentFlyouts.Core.Battery.EFCore.Models;
22
using System;
33
using System.Collections.Generic;
44
using System.Linq;
55
using System.Text;
66
using System.Threading.Tasks;
77

8-
namespace FluentFlyouts.Core.EFCore.Repositories
8+
namespace FluentFlyouts.Core.Battery.EFCore.Repositories
99
{
1010
public interface IBatteryRepository
1111
{
File renamed without changes.

FluentFlyouts.Core/Services/BatteryService.cs renamed to FluentFlyouts.Core/Battery/Services/BatteryService.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
using FluentFlyouts.Core.EFCore.Repositories;
1+
using FluentFlyouts.Core.Battery.EFCore.Repositories;
22
using System;
33
using System.Collections.Generic;
44
using System.Linq;
55
using System.Text;
66
using System.Threading.Tasks;
77

8-
namespace FluentFlyouts.Core.Services
8+
namespace FluentFlyouts.Core.Battery.Services
99
{
1010
public class BatteryService : IBatteryService
1111
{
1212
private IBatteryRepository batteryRepository;
13-
public BatteryService(IBatteryRepository batteryRepository)
14-
{
13+
public BatteryService(IBatteryRepository batteryRepository)
14+
{
1515
this.batteryRepository = batteryRepository;
1616
/*var statusProvider = new PowerStatusProvider();
1717
var status = statusProvider.GetStatus();*/

FluentFlyouts.Core/Services/IBatteryService.cs renamed to FluentFlyouts.Core/Battery/Services/IBatteryService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Text;
55
using System.Threading.Tasks;
66

7-
namespace FluentFlyouts.Core.Services
7+
namespace FluentFlyouts.Core.Battery.Services
88
{
99
public interface IBatteryService
1010
{

0 commit comments

Comments
 (0)