Keep screen on while viewing a recipe (#169)

* Keep screen on while user is on recipe details screen

* Update version code
This commit is contained in:
Kirill Kamakin
2023-08-26 15:00:27 +02:00
committed by GitHub
parent 9f87c562da
commit eb7c8bf02a
3 changed files with 4 additions and 2 deletions

View File

@@ -16,8 +16,8 @@ plugins {
android { android {
defaultConfig { defaultConfig {
applicationId = "gq.kirmanak.mealient" applicationId = "gq.kirmanak.mealient"
versionCode = 29 versionCode = 30
versionName = "0.4.0" versionName = "0.4.1"
testInstrumentationRunner = "gq.kirmanak.mealient.MealientTestRunner" testInstrumentationRunner = "gq.kirmanak.mealient.MealientTestRunner"
testInstrumentationRunnerArguments += mapOf("clearPackageData" to "true") testInstrumentationRunnerArguments += mapOf("clearPackageData" to "true")
resourceConfigurations += listOf("en", "es", "ru", "fr", "nl", "pt", "de") resourceConfigurations += listOf("en", "es", "ru", "fr", "nl", "pt", "de")

View File

@@ -4,6 +4,7 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:keepScreenOn="true"
tools:context=".ui.recipes.info.RecipeInfoFragment"> tools:context=".ui.recipes.info.RecipeInfoFragment">
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout

View File

@@ -0,0 +1 @@
The app will keep screen on while viewing a recipe