mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 22:37:56 +01:00 
			
		
		
		
	Add crop borders functionality, #219
This commit is contained in:
		| @@ -41,6 +41,8 @@ class PreferenceKeys(context: Context) { | ||||
|  | ||||
|     val readerTheme = context.getString(R.string.pref_reader_theme_key) | ||||
|  | ||||
|     val cropBorders = context.getString(R.string.pref_crop_borders_key) | ||||
|  | ||||
|     val readWithTapping = context.getString(R.string.pref_read_with_tapping_key) | ||||
|  | ||||
|     val readWithVolumeKeys = context.getString(R.string.pref_read_with_volume_keys_key) | ||||
|   | ||||
| @@ -34,7 +34,7 @@ class PreferencesHelper(val context: Context) { | ||||
|  | ||||
|     fun rotation() = rxPrefs.getInteger(keys.rotation, 1) | ||||
|  | ||||
|     fun enableTransitions() = rxPrefs.getBoolean(keys.enableTransitions, true) | ||||
|     fun pageTransitions() = rxPrefs.getBoolean(keys.enableTransitions, true) | ||||
|  | ||||
|     fun showPageNumber() = rxPrefs.getBoolean(keys.showPageNumber, true) | ||||
|  | ||||
| @@ -60,6 +60,8 @@ class PreferencesHelper(val context: Context) { | ||||
|  | ||||
|     fun readerTheme() = rxPrefs.getInteger(keys.readerTheme, 0) | ||||
|  | ||||
|     fun cropBorders() = rxPrefs.getBoolean(keys.cropBorders, false) | ||||
|  | ||||
|     fun readWithTapping() = rxPrefs.getBoolean(keys.readWithTapping, true) | ||||
|  | ||||
|     fun readWithVolumeKeys() = rxPrefs.getBoolean(keys.readWithVolumeKeys, false) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user