We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54c58f0 commit 7f38e64Copy full SHA for 7f38e64
pythonforandroid/recipes/android/src/android/utils.py
@@ -4,6 +4,7 @@
4
5
__all__ = ('update_system_ui')
6
7
+
8
def update_system_ui(
9
status_bar_color: list[float] | str,
10
navigation_bar_color: list[float] | str,
@@ -36,7 +37,7 @@ def update_system_ui(
36
37
try:
38
WindowCompat = autoclass("androidx.core.view.WindowCompat")
39
inset_controller = WindowCompat.getInsetsController(window, decor_view)
- except Exception as e:
40
+ except:
41
inset_controller = None
42
43
def parse_color(value):
0 commit comments