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>
|
||||
<ContentView Padding="10" BackgroundColor="#D8D8D8">
|
||||
<Label Text="{Binding LicenseText}" />
|
||||
<Label Text="{Binding LicenseText}" TextColor="#1a1a1a" />
|
||||
</ContentView>
|
||||
</StackLayout>
|
||||
</ViewCell>
|
||||
|
||||
@@ -31,16 +31,16 @@
|
||||
<Label Text="{x:Static fonts:FontAwesomeSolid.Code}"
|
||||
FontFamily="{StaticResource FontAwesomeSolid}"
|
||||
FontSize="48"
|
||||
TextColor="{StaticResource SecondaryTextColor}"
|
||||
TextColor="{DynamicResource SecondaryTextColor}"
|
||||
HorizontalOptions="Center" />
|
||||
<Label Text="No saved queries"
|
||||
FontSize="18"
|
||||
FontAttributes="Bold"
|
||||
TextColor="{StaticResource SecondaryTextColor}"
|
||||
TextColor="{DynamicResource SecondaryTextColor}"
|
||||
HorizontalOptions="Center" />
|
||||
<Label Text="Save a query from a session to see it here"
|
||||
FontSize="14"
|
||||
TextColor="{StaticResource SecondaryTextColor}"
|
||||
TextColor="{DynamicResource SecondaryTextColor}"
|
||||
HorizontalOptions="Center" />
|
||||
</StackLayout>
|
||||
</Grid>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
</TableView>
|
||||
|
||||
<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.GestureRecognizers>
|
||||
<TapGestureRecognizer Command="{Binding Commands[OpenReSoftwareSite]}" />
|
||||
|
||||
@@ -75,13 +75,23 @@ namespace Xamarin.Neo4j.ViewModels
|
||||
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);
|
||||
}));
|
||||
|
||||
Commands.Add("RateApp", new Command(async () =>
|
||||
{
|
||||
await Launcher.Default.OpenAsync(
|
||||
new Uri("https://apps.apple.com/app/id1604368926?action=write-review"));
|
||||
var url = DeviceInfo.Platform == DevicePlatform.Android
|
||||
? "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 () =>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0-ios</TargetFramework>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<UseMaui>true</UseMaui>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<Nullable>disable</Nullable>
|
||||
@@ -20,6 +20,8 @@
|
||||
<ItemGroup>
|
||||
<None Remove="Visualization\visgraph.html" />
|
||||
<EmbeddedResource Include="Visualization\visgraph.html" />
|
||||
<None Remove="Visualization\jsonview.html" />
|
||||
<EmbeddedResource Include="Visualization\jsonview.html" />
|
||||
<None Remove="Resources\licenses.json" />
|
||||
<EmbeddedResource Include="Resources\licenses.json" />
|
||||
</ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user