Skip to content

Commit 79e0943

Browse files
committed
Updated gradle and dependencies 2
1 parent fd62afd commit 79e0943

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
[![API](https://img.shields.io/badge/API-21%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=21)
88
![Language](https://img.shields.io/badge/language-Kotlin-orange.svg)
99
[![PRWelcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/rafi0101/Android-Room-Database-Backup/pulls)
10+
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/rafi0101/Android-Room-Database-Backu/blob/master/LICENSE)
1011

1112
<div align="center">
1213
<sub>Built with ❤︎ by

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@ dependencies {
8484
implementation 'androidx.recyclerview:recyclerview:1.2.1'
8585

8686
//Material Design Implementation
87-
implementation 'com.google.android.material:material:1.6.1'
87+
implementation 'com.google.android.material:material:1.7.0'
8888

8989
}

app/src/main/java/de/raphaelebner/roomdatabasebackup/sample/ActivityAddEditFruit.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class ActivityAddEditFruit : AppCompatActivity() {
8383
deleteFruit = true
8484
saveFruit()
8585
} else {
86-
super.onBackPressed()
86+
onBackPressedDispatcher.onBackPressed()
8787
}
8888
}
8989

@@ -128,7 +128,7 @@ class ActivityAddEditFruit : AppCompatActivity() {
128128
}
129129
//Back Button
130130
android.R.id.home -> {
131-
super.onBackPressed()
131+
onBackPressedDispatcher.onBackPressed()
132132
true
133133

134134
}

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
mavenCentral()
77
}
88
dependencies {
9-
classpath 'com.android.tools.build:gradle:7.3.0'
9+
classpath 'com.android.tools.build:gradle:7.3.1'
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1111

1212
// NOTE: Do not place your application dependencies here; they belong

0 commit comments

Comments
 (0)