mirror of
https://github.com/awatertrevi/xamarin-neo4j.git
synced 2026-09-22 09:05:29 +00:00
Misc: minor cleanup and project file updates
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
</Label.GestureRecognizers>
|
</Label.GestureRecognizers>
|
||||||
</Label>
|
</Label>
|
||||||
<ContentView Padding="10" BackgroundColor="#D8D8D8">
|
<ContentView Padding="10" BackgroundColor="#D8D8D8">
|
||||||
<Label Text="{Binding LicenseText}" />
|
<Label Text="{Binding LicenseText}" TextColor="#1a1a1a" />
|
||||||
</ContentView>
|
</ContentView>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</ViewCell>
|
</ViewCell>
|
||||||
|
|||||||
@@ -31,16 +31,16 @@
|
|||||||
<Label Text="{x:Static fonts:FontAwesomeSolid.Code}"
|
<Label Text="{x:Static fonts:FontAwesomeSolid.Code}"
|
||||||
FontFamily="{StaticResource FontAwesomeSolid}"
|
FontFamily="{StaticResource FontAwesomeSolid}"
|
||||||
FontSize="48"
|
FontSize="48"
|
||||||
TextColor="{StaticResource SecondaryTextColor}"
|
TextColor="{DynamicResource SecondaryTextColor}"
|
||||||
HorizontalOptions="Center" />
|
HorizontalOptions="Center" />
|
||||||
<Label Text="No saved queries"
|
<Label Text="No saved queries"
|
||||||
FontSize="18"
|
FontSize="18"
|
||||||
FontAttributes="Bold"
|
FontAttributes="Bold"
|
||||||
TextColor="{StaticResource SecondaryTextColor}"
|
TextColor="{DynamicResource SecondaryTextColor}"
|
||||||
HorizontalOptions="Center" />
|
HorizontalOptions="Center" />
|
||||||
<Label Text="Save a query from a session to see it here"
|
<Label Text="Save a query from a session to see it here"
|
||||||
FontSize="14"
|
FontSize="14"
|
||||||
TextColor="{StaticResource SecondaryTextColor}"
|
TextColor="{DynamicResource SecondaryTextColor}"
|
||||||
HorizontalOptions="Center" />
|
HorizontalOptions="Center" />
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
</TableView>
|
</TableView>
|
||||||
|
|
||||||
<StackLayout Grid.Row="1" Spacing="15" Padding="25">
|
<StackLayout Grid.Row="1" Spacing="15" Padding="25">
|
||||||
<Label Text="A product of" HorizontalOptions="Center" FontAttributes="Italic" FontSize="12" TextColor="{StaticResource SecondaryTextColor}" />
|
<Label Text="A product of" HorizontalOptions="Center" FontAttributes="Italic" FontSize="12" TextColor="{DynamicResource SecondaryTextColor}" />
|
||||||
<Image Source="resoftware.png" HorizontalOptions="Center" WidthRequest="100">
|
<Image Source="resoftware.png" HorizontalOptions="Center" WidthRequest="100">
|
||||||
<Image.GestureRecognizers>
|
<Image.GestureRecognizers>
|
||||||
<TapGestureRecognizer Command="{Binding Commands[OpenReSoftwareSite]}" />
|
<TapGestureRecognizer Command="{Binding Commands[OpenReSoftwareSite]}" />
|
||||||
|
|||||||
@@ -75,13 +75,23 @@ namespace Xamarin.Neo4j.ViewModels
|
|||||||
Body = body
|
Body = body
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (!Email.Default.IsComposeSupported)
|
||||||
|
{
|
||||||
|
await Application.Current.MainPage.DisplayAlert(
|
||||||
|
"No Email App", "No email client is configured on this device.", "OK");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
await Email.Default.ComposeAsync(message);
|
await Email.Default.ComposeAsync(message);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
Commands.Add("RateApp", new Command(async () =>
|
Commands.Add("RateApp", new Command(async () =>
|
||||||
{
|
{
|
||||||
await Launcher.Default.OpenAsync(
|
var url = DeviceInfo.Platform == DevicePlatform.Android
|
||||||
new Uri("https://apps.apple.com/app/id1604368926?action=write-review"));
|
? "https://play.google.com/store/apps/details?id=nl.resoftware.pocketgraph"
|
||||||
|
: "https://apps.apple.com/app/id1604368926?action=write-review";
|
||||||
|
|
||||||
|
await Launcher.Default.OpenAsync(new Uri(url));
|
||||||
}));
|
}));
|
||||||
|
|
||||||
Commands.Add("ClearConnections", new Command(async () =>
|
Commands.Add("ClearConnections", new Command(async () =>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net10.0-ios</TargetFramework>
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
<UseMaui>true</UseMaui>
|
<UseMaui>true</UseMaui>
|
||||||
<LangVersion>latest</LangVersion>
|
<LangVersion>latest</LangVersion>
|
||||||
<Nullable>disable</Nullable>
|
<Nullable>disable</Nullable>
|
||||||
@@ -20,6 +20,8 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Remove="Visualization\visgraph.html" />
|
<None Remove="Visualization\visgraph.html" />
|
||||||
<EmbeddedResource Include="Visualization\visgraph.html" />
|
<EmbeddedResource Include="Visualization\visgraph.html" />
|
||||||
|
<None Remove="Visualization\jsonview.html" />
|
||||||
|
<EmbeddedResource Include="Visualization\jsonview.html" />
|
||||||
<None Remove="Resources\licenses.json" />
|
<None Remove="Resources\licenses.json" />
|
||||||
<EmbeddedResource Include="Resources\licenses.json" />
|
<EmbeddedResource Include="Resources\licenses.json" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user