mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Add toggle to invert page color in reader color filter settings (#5713)
This commit is contained in:
		| @@ -193,6 +193,16 @@ | ||||
|             android:textColor="?android:attr/textColorSecondary" | ||||
|             app:layout_constraintTop_toBottomOf="@id/color_filter_mode" /> | ||||
|  | ||||
|         <com.google.android.material.switchmaterial.SwitchMaterial | ||||
|             android:id="@+id/inverted_colors" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:paddingStart="16dp" | ||||
|             android:paddingEnd="16dp" | ||||
|             android:text="@string/pref_inverted_colors" | ||||
|             android:textColor="?android:attr/textColorSecondary" | ||||
|             app:layout_constraintTop_toBottomOf="@id/grayscale" /> | ||||
|  | ||||
|         <!-- Brightness --> | ||||
|  | ||||
|         <com.google.android.material.switchmaterial.SwitchMaterial | ||||
| @@ -203,7 +213,7 @@ | ||||
|             android:paddingStart="16dp" | ||||
|             android:paddingEnd="16dp" | ||||
|             android:text="@string/pref_custom_brightness" | ||||
|             app:layout_constraintTop_toBottomOf="@id/grayscale" /> | ||||
|             app:layout_constraintTop_toBottomOf="@id/inverted_colors" /> | ||||
|  | ||||
|         <!-- Brightness value --> | ||||
|  | ||||
|   | ||||
| @@ -275,6 +275,7 @@ | ||||
|     <string name="off">Off</string> | ||||
|     <string name="pref_custom_brightness">Custom brightness</string> | ||||
|     <string name="pref_grayscale">Grayscale</string> | ||||
|     <string name="pref_inverted_colors">Inverted</string> | ||||
|     <string name="pref_custom_color_filter">Custom color filter</string> | ||||
|     <string name="pref_color_filter_mode">Color filter blend mode</string> | ||||
|     <string name="filter_mode_default">Default</string> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user