Browse Source

Interim Update

Frank van den Bos 1 week ago
parent
commit
ae4a7272d1

+ 1 - 1
PRS.Avalonia/PRS.Avalonia.iOS/PRS.Avalonia.iOS.csproj

@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
     <PropertyGroup>
         <OutputType>Exe</OutputType>
-        <TargetFramework>net8.0-ios</TargetFramework>
+        <TargetFrameworks>net8.0-ios;net9.0-ios</TargetFrameworks>
         <SupportedOSPlatformVersion>13.0</SupportedOSPlatformVersion>
         <Nullable>enable</Nullable>
         <Platforms>AnyCPU</Platforms>

+ 2 - 2
PRS.Avalonia/PRS.Avalonia/Components/DocumentList/DocumentPageView.axaml

@@ -9,8 +9,8 @@
 	<Grid>
 		<components:DocumentViewer Name="Viewer"
 								   IsVisible="{Binding Document,Converter={x:Static ObjectConverters.IsNotNull}}"
-								   FileName="{Binding Document?.FileName}"
-								   Data="{Binding Document?.Data}"/>
+								   FileName="{Binding Document.FileName, FallbackValue=''}"
+								   Data="{Binding Document.Data, FallbackValue=''}"/>
 		<Label Name="NoImage"
 			   Content="File Not Available!"
 			   HorizontalAlignment="Stretch" VerticalAlignment="Stretch"

+ 1 - 1
PRS.Avalonia/PRS.Avalonia/PRS.Avalonia.csproj

@@ -1,6 +1,6 @@
 <Project Sdk="Microsoft.NET.Sdk">
     <PropertyGroup>
-        <TargetFrameworks>net9.0</TargetFrameworks>
+        <TargetFrameworks>net8.0;net9.0</TargetFrameworks>
         <Nullable>enable</Nullable>
         <AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
         <Configurations>Debug;Release;DebugDev;Publish</Configurations>