From 3a06e74e4ca17d289822e65452f34501544410ae Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Fri, 20 Oct 2023 02:33:35 +0200 Subject: [PATCH] Updated permissions --- sbapp/buildozer.spec | 2 +- sbapp/kivymd/uix/pickers/colorpicker/colorpicker.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sbapp/buildozer.spec b/sbapp/buildozer.spec index 843b986..b4a882b 100644 --- a/sbapp/buildozer.spec +++ b/sbapp/buildozer.spec @@ -25,7 +25,7 @@ android.presplash_color = #00000000 orientation = portrait fullscreen = 0 -android.permissions = INTERNET,POST_NOTIFICATIONS,WAKE_LOCK,FOREGROUND_SERVICE,CHANGE_WIFI_MULTICAST_STATE,BLUETOOTH_CONNECT,ACCESS_NETWORK_STATE +android.permissions = INTERNET,POST_NOTIFICATIONS,WAKE_LOCK,FOREGROUND_SERVICE,CHANGE_WIFI_MULTICAST_STATE,BLUETOOTH_CONNECT,ACCESS_NETWORK_STATE,ACCESS_FINE_LOCATION,ACCESS_COARSE_LOCATION android.api = 30 android.minapi = 24 android.ndk = 25b diff --git a/sbapp/kivymd/uix/pickers/colorpicker/colorpicker.py b/sbapp/kivymd/uix/pickers/colorpicker/colorpicker.py index 4372702..4dfdfd1 100644 --- a/sbapp/kivymd/uix/pickers/colorpicker/colorpicker.py +++ b/sbapp/kivymd/uix/pickers/colorpicker/colorpicker.py @@ -562,6 +562,8 @@ class MDColorPicker(BaseDialog): self._current_tab = self.gradient_tab self.ids.bottom_navigation_gradient.add_widget(self.gradient_tab) + super().on_open() + def on_select_color(self, color: list) -> None: """Called when a gradient image is clicked."""