Skip to content

Commit

Permalink
release v0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sa3dany committed Aug 23, 2022
1 parent f5a8e1f commit 9758bcb
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

## 0.4.1 (Aug 24, 2022)

- Update dependencies
- Update compiler SDK version to 32
- Fix build a warning

## 0.4.0 (Aug 09, 2022)

- Update dependencies
Expand Down
8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ android {
minSdkVersion rootProject.minSdkVersion
targetSdkVersion rootProject.targetSdkVersion
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
versionCode 4
versionName "0.4.0"
versionCode 5
versionName "0.4.1"
}

buildFeatures {
Expand Down Expand Up @@ -56,10 +56,10 @@ dependencies {

// Core
implementation "androidx.activity:activity-ktx:1.5.1"
implementation "androidx.appcompat:appcompat:1.4.2"
implementation "androidx.appcompat:appcompat:1.5.0"
implementation "androidx.constraintlayout:constraintlayout:2.1.4"
implementation "androidx.core:core-ktx:1.8.0"
implementation "androidx.fragment:fragment-ktx:1.5.1"
implementation "androidx.fragment:fragment-ktx:1.5.2"
implementation "com.google.android.material:material:1.6.1"
testImplementation "junit:junit:4.13.2"
androidTestImplementation "androidx.test.espresso:espresso-core:3.4.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import android.os.Bundle
import android.provider.DocumentsContract
import android.view.View
import androidx.activity.result.contract.ActivityResultContracts
import androidx.activity.result.contract.ActivityResultContracts.CreateDocument
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleEventObserver
import androidx.navigation.NavBackStackEntry
Expand All @@ -21,11 +22,10 @@ class SettingsFragment : PreferenceFragmentCompat() {
* Simple class that extends [ActivityResultContracts.CreateDocument]
* Just sets the category (openable) & MIME type to text/plain
*/
class CreateTextFile : ActivityResultContracts.CreateDocument() {
class CreateTextFile : CreateDocument("text/plain") {
override fun createIntent(context: Context, input: String): Intent {
return super.createIntent(context, input).apply {
addCategory(Intent.CATEGORY_OPENABLE)
type = "text/plain"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
buildscript {
ext {
// Sdk and tools
compileSdkVersion = 31
compileSdkVersion = 32
targetSdkVersion = 29
minSdkVersion = 29

Expand Down

0 comments on commit 9758bcb

Please sign in to comment.