mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Let users invert dual page split (#4470)
* Let users invert dual page split * Use Activity lifecycleScope and cleanup invert logic
This commit is contained in:
		| @@ -159,6 +159,16 @@ | ||||
|         android:textColor="?android:attr/textColorSecondary" | ||||
|         app:layout_constraintTop_toBottomOf="@id/fullscreen" /> | ||||
|  | ||||
|     <com.google.android.material.switchmaterial.SwitchMaterial | ||||
|         android:id="@+id/dual_page_invert" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:text="@string/pref_dual_page_invert" | ||||
|         android:textColor="?android:attr/textColorSecondary" | ||||
|         android:visibility="gone" | ||||
|         app:layout_constraintTop_toBottomOf="@id/dual_page_split" | ||||
|         tools:visibility="visible" /> | ||||
|  | ||||
|     <com.google.android.material.switchmaterial.SwitchMaterial | ||||
|         android:id="@+id/cutout_short" | ||||
|         android:layout_width="match_parent" | ||||
| @@ -166,7 +176,7 @@ | ||||
|         android:text="@string/pref_cutout_short" | ||||
|         android:textColor="?android:attr/textColorSecondary" | ||||
|         android:visibility="gone" | ||||
|         app:layout_constraintTop_toBottomOf="@id/dual_page_split" | ||||
|         app:layout_constraintTop_toBottomOf="@id/dual_page_invert" | ||||
|         tools:visibility="visible" /> | ||||
|  | ||||
|     <com.google.android.material.switchmaterial.SwitchMaterial | ||||
|   | ||||
| @@ -251,6 +251,8 @@ | ||||
|       <!-- Reader section --> | ||||
|     <string name="pref_fullscreen">Fullscreen</string> | ||||
|     <string name="pref_dual_page_split">Dual page split (ALPHA)</string> | ||||
|     <string name="pref_dual_page_invert">Invert dual page split placement</string> | ||||
|     <string name="pref_dual_page_invert_summary">If the placement of the dual page split doesn\'t match reading direction</string> | ||||
|     <string name="pref_cutout_short">Show content in cutout area</string> | ||||
|     <string name="pref_lock_orientation">Lock orientation</string> | ||||
|     <string name="pref_page_transitions">Animate page transitions</string> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user