Skip to content

Commit 3c92921

Browse files
committed
chore: Additional adjustments for the ChatGPT sample app
1 parent 1cba87b commit 3c92921

File tree

6 files changed

+7
-5
lines changed

6 files changed

+7
-5
lines changed

UI/ChatGPT/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This is a ChatGPT Sample app using the OpenAI SDK. The app was built using [C# Markup](https://aka.platform.uno/csharp-markup) for the UI and [MVUX](https://aka.platform.uno/mvux) for state management, encouraging the flow of immutable data. [Records](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/record) are used to manage state and ensure immutability.
44

5-
![ChatGPT Image](ChatGPT-Image.png)
5+
![ChatGPT Image](doc/assets/ChatGPT-Image.png)
66

77
## Getting Started
88

UI/ChatGPT/src/ChatGPT/Package.appxmanifest

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<Properties>
1515
<DisplayName>ChatGPT</DisplayName>
16-
<PublisherDisplayName>ChatGPT</PublisherDisplayName>
16+
<PublisherDisplayName>UnoPlatform</PublisherDisplayName>
1717
</Properties>
1818

1919
<Dependencies>
@@ -33,6 +33,7 @@
3333
DisplayName="ChatGPT"
3434
Description="ChatGPT">
3535
<uap:SplashScreen />
36+
<uap:DefaultTile/>
3637
</uap:VisualElements>
3738
</Application>
3839
</Applications>

UI/ChatGPT/src/ChatGPT/Presentation/MainPage.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ public MainPage()
88
{
99
this.DataContext<BindableMainModel>((page, vm) => page
1010
.Background(ThemeResource.Get<Brush>("ApplicationPageBackgroundThemeBrush"))
11+
.SafeArea(SafeArea.InsetMask.All)
1112
.Content(
1213
new Grid()
1314
.BorderBrush(Colors.Gray)

UI/ChatGPT/src/Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
<!-- See https://aka.platform.uno/using-uno-sdk#implicit-packages for more information regarding the Implicit Packages version properties. -->
1717
<PropertyGroup>
18-
<UnoExtensionsVersion>4.1.23</UnoExtensionsVersion>
19-
<UnoToolkitVersion>6.0.18</UnoToolkitVersion>
18+
<UnoExtensionsVersion>4.1.24</UnoExtensionsVersion>
19+
<UnoToolkitVersion>6.0.24</UnoToolkitVersion>
2020
<UnoThemesVersion>5.0.13</UnoThemesVersion>
2121
<UnoCSharpMarkupVersion>5.2.14</UnoCSharpMarkupVersion>
2222
</PropertyGroup>

UI/ChatGPT/src/global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
// To update the version of Uno please update the version of the Uno.Sdk here. See https://aka.platform.uno/upgrade-uno-packages for more information.
33
"msbuild-sdks": {
4-
"Uno.Sdk": "5.2.132"
4+
"Uno.Sdk": "5.2.161"
55
}
66
}

0 commit comments

Comments
 (0)