iOS safe area tweaks

This commit is contained in:
2022-11-08 09:47:28 -06:00
parent ac68106fac
commit cd0a673f43
@@ -8,6 +8,8 @@ using qController.QItems;
using qController.Dialogs; using qController.Dialogs;
using qController.Cell; using qController.Cell;
using Xamarin.Essentials; using Xamarin.Essentials;
using Xamarin.Forms.PlatformConfiguration;
using Xamarin.Forms.PlatformConfiguration.iOSSpecific;
namespace qController namespace qController
{ {
@@ -43,7 +45,7 @@ namespace qController
private void InitGUI() private void InitGUI()
{ {
NavigationPage.SetHasNavigationBar(this, false); Xamarin.Forms.NavigationPage.SetHasNavigationBar(this, false);
//ListView Setup //ListView Setup
listView.ItemsSource = QStorage.qInstances; listView.ItemsSource = QStorage.qInstances;
@@ -53,7 +55,7 @@ namespace qController
// don't do anything if we just de-selected the row // don't do anything if we just de-selected the row
if (e.Item == null) return; if (e.Item == null) return;
// do something with e.SelectedItem // do something with e.SelectedItem
((ListView)sender).SelectedItem = null; // de-select the row ((Xamarin.Forms.ListView)sender).SelectedItem = null; // de-select the row
}; };
//Platform Specific Setup //Platform Specific Setup