Updated permissions

This commit is contained in:
Mark Qvist 2023-10-20 02:33:35 +02:00
parent 404649f805
commit 3a06e74e4c
2 changed files with 3 additions and 1 deletions

View File

@ -25,7 +25,7 @@ android.presplash_color = #00000000
orientation = portrait orientation = portrait
fullscreen = 0 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.api = 30
android.minapi = 24 android.minapi = 24
android.ndk = 25b android.ndk = 25b

View File

@ -562,6 +562,8 @@ class MDColorPicker(BaseDialog):
self._current_tab = self.gradient_tab self._current_tab = self.gradient_tab
self.ids.bottom_navigation_gradient.add_widget(self.gradient_tab) self.ids.bottom_navigation_gradient.add_widget(self.gradient_tab)
super().on_open()
def on_select_color(self, color: list) -> None: def on_select_color(self, color: list) -> None:
"""Called when a gradient image is clicked.""" """Called when a gradient image is clicked."""