From 5fe99bfe9883aec0e6f5f259dc46565b968acefe Mon Sep 17 00:00:00 2001 From: gene Date: Thu, 25 May 2023 10:09:16 -0500 Subject: [PATCH] added a toolbar and an open button...only working on pdf files. need to try it on Macs --- CDPShared/CircleAPIHelper.cs | 2 +- CircleViewerMaui/AppShell.xaml | 23 ++++++++++++++--------- CircleViewerMaui/MainPage.xaml | 24 ++++++++++++++++++++++-- 3 files changed, 37 insertions(+), 12 deletions(-) diff --git a/CDPShared/CircleAPIHelper.cs b/CDPShared/CircleAPIHelper.cs index ea3727d..6595c04 100644 --- a/CDPShared/CircleAPIHelper.cs +++ b/CDPShared/CircleAPIHelper.cs @@ -33,7 +33,7 @@ namespace CDPShared public CircleAPIHelper(string customerCode, string appKey, string endUserId, string secret) { - _api = new CircleApi(); // to use CircleAPI, you need RESTSharp v105.0.0 + _api = new CircleApi(); // to use CircleAPI, you need RESTSharp v106.15.0 _customerCode = customerCode; _appKey = appKey; _endUserId = endUserId; diff --git a/CircleViewerMaui/AppShell.xaml b/CircleViewerMaui/AppShell.xaml index 9955416..c96b795 100644 --- a/CircleViewerMaui/AppShell.xaml +++ b/CircleViewerMaui/AppShell.xaml @@ -4,16 +4,21 @@ xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:CircleViewerMaui" - Shell.FlyoutBehavior="Disabled"> - - + + - - + + + + diff --git a/CircleViewerMaui/MainPage.xaml b/CircleViewerMaui/MainPage.xaml index 7e9ab4e..90bd907 100644 --- a/CircleViewerMaui/MainPage.xaml +++ b/CircleViewerMaui/MainPage.xaml @@ -5,7 +5,27 @@ x:Class="CircleViewerMaui.MainPage"> - - + + + + + + + + + + + + + + +