From 7d4af1f8cceae5a05bf2f375ef96c69f34a08cfb Mon Sep 17 00:00:00 2001
From: arkon <eugcheung94@gmail.com>
Date: Sat, 24 Jun 2023 12:56:45 -0400
Subject: [PATCH] Don't affect reader toolbars/sheets when using custom
 brightness

Closes #8444
You should be able to tap to bring up the menus even if the brightness is too low.
---
 app/src/main/res/layout/reader_activity.xml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/app/src/main/res/layout/reader_activity.xml b/app/src/main/res/layout/reader_activity.xml
index 9c83588b5..cb1a71f78 100644
--- a/app/src/main/res/layout/reader_activity.xml
+++ b/app/src/main/res/layout/reader_activity.xml
@@ -37,6 +37,12 @@
         android:focusable="false"
         android:visibility="gone" />
 
+    <View
+        android:id="@+id/brightness_overlay"
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        android:visibility="gone" />
+
     <FrameLayout
         android:id="@+id/reader_menu"
         android:layout_width="match_parent"
@@ -144,12 +150,6 @@
 
     </FrameLayout>
 
-    <View
-        android:id="@+id/brightness_overlay"
-        android:layout_width="match_parent"
-        android:layout_height="match_parent"
-        android:visibility="gone" />
-
     <androidx.compose.ui.platform.ComposeView
         android:id="@+id/dialog_root"
         android:layout_width="match_parent"