Skip to content

Commit c6e6da3

Browse files
committed
1.0.4: Monochrome icon restored
1 parent c4aefbb commit c6e6da3

File tree

7 files changed

+34
-32
lines changed

7 files changed

+34
-32
lines changed

.idea/kotlinc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,23 @@ android {
1616
}
1717

1818
composeOptions {
19-
kotlinCompilerExtensionVersion = "1.4.0"
19+
kotlinCompilerExtensionVersion = "1.4.2"
2020
}
2121

2222
compileSdk 33
23-
23+
2424
defaultConfig {
2525
applicationId "com.mikhailgrigorev.simple_password"
2626
minSdkVersion 23
2727
targetSdk 33
28-
versionCode 4
29-
versionName '1.0.3'
28+
versionCode 5
29+
versionName '1.0.4'
3030
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
3131
}
3232

3333
buildTypes {
3434
release {
35-
minifyEnabled false
35+
minifyEnabled true
3636
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
3737
signingConfig signingConfigs.debug
3838
}
@@ -62,23 +62,23 @@ dependencies {
6262
implementation "androidx.window:window:1.0.0"
6363

6464
// Room
65-
implementation 'androidx.work:work-runtime:2.7.1'
65+
implementation 'androidx.work:work-runtime:2.8.0'
6666
implementation 'com.google.code.gson:gson:2.10.1'
6767
implementation 'androidx.room:room-ktx:2.5.0'
6868
kapt 'androidx.room:room-compiler:2.5.0'
6969

7070
// Navigation
71-
implementation('androidx.navigation:navigation-fragment-ktx:2.6.0-alpha04')
72-
implementation('androidx.navigation:navigation-ui-ktx:2.6.0-alpha04')
73-
implementation('androidx.navigation:navigation-dynamic-features-fragment:2.6.0-alpha04')
74-
implementation('androidx.navigation:navigation-compose:2.6.0-alpha04')
71+
implementation 'androidx.navigation:navigation-fragment-ktx:2.6.0-alpha05'
72+
implementation 'androidx.navigation:navigation-ui-ktx:2.6.0-alpha05'
73+
implementation 'androidx.navigation:navigation-dynamic-features-fragment:2.6.0-alpha05'
74+
implementation 'androidx.navigation:navigation-compose:2.6.0-alpha05'
7575

7676
// Shared preferences
7777
implementation 'androidx.security:security-crypto:1.1.0-alpha04'
7878
implementation "org.mindrot:jbcrypt:0.4"
7979

8080
// Fragment
81-
implementation 'androidx.fragment:fragment-ktx:1.6.0-alpha04'
81+
implementation 'androidx.fragment:fragment-ktx:1.6.0-alpha05'
8282

8383
// Swipe refresh layout
8484
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
@@ -88,16 +88,16 @@ dependencies {
8888

8989
// material3
9090
implementation 'com.google.android.material:material:1.9.0-alpha01'
91-
implementation('androidx.compose.compiler:compiler:1.4.0')
92-
implementation('androidx.compose.material3:material3:1.1.0-alpha05')
91+
implementation 'androidx.compose.compiler:compiler:1.4.2'
92+
implementation 'androidx.compose.material3:material3:1.1.0-alpha06'
9393

9494
// View Model
9595
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
96-
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.0-alpha05'
96+
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.0-beta01'
9797

9898
// LiveData
99-
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.0-alpha05'
100-
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.0-alpha05'
99+
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.0-beta01'
100+
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.0-beta01'
101101

102102
// coroutines
103103
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4'
@@ -106,13 +106,13 @@ dependencies {
106106
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.8.10'
107107
implementation 'androidx.core:core-ktx:1.9.0'
108108
implementation 'com.anjlab.android.iab.v3:library:2.0.3'
109-
implementation 'androidx.appcompat:appcompat:1.6.0'
109+
implementation 'androidx.appcompat:appcompat:1.6.1'
110110

111111
// Constraint
112112
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
113113

114114
// CSV Writer
115-
implementation 'com.github.doyaaaaaken:kotlin-csv-jvm:1.7.0'
115+
implementation 'com.github.doyaaaaaken:kotlin-csv-jvm:1.8.0'
116116

117117
// Color picker
118118
implementation 'com.thebluealliance:spectrum:0.7.1'
@@ -121,11 +121,11 @@ dependencies {
121121
implementation 'androidx.biometric:biometric:1.1.0'
122122

123123
// Dagger
124-
kapt 'com.google.dagger:dagger-compiler:2.44.2'
125-
kapt 'com.google.dagger:dagger-android-processor:2.44.2'
126-
implementation 'com.google.dagger:dagger:2.44.2'
127-
implementation 'com.google.dagger:dagger-android:2.44.2'
128-
implementation 'com.google.dagger:dagger-android-support:2.44.2'
124+
kapt 'com.google.dagger:dagger-compiler:2.45'
125+
kapt 'com.google.dagger:dagger-android-processor:2.45'
126+
implementation 'com.google.dagger:dagger:2.45'
127+
implementation 'com.google.dagger:dagger-android:2.45'
128+
implementation 'com.google.dagger:dagger-android-support:2.45'
129129

130130
// Other
131131
implementation 'androidx.legacy:legacy-support-v4:1.0.0'

app/src/main/java/com/mikhailgrigorev/simple_password/ui/settings/SettingsFragment.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ class SettingsFragment: Fragment() {
7878
initViewModel()
7979
initUI()
8080
initListeners()
81+
8182
return view
8283
}
8384

@@ -521,14 +522,14 @@ class SettingsFragment: Fragment() {
521522
val intent = this.context?.let {
522523
goToFileIntent(it, csvFile)
523524
}
524-
startActivity(intent)
525+
intent?.let { startActivity(intent) }
525526
} else {
526527
exportPasswordsToCSVFile(csvFile)
527528
val intent = this.context?.let {
528529
goToFileIntent(it, csvFile)
529530
}
530531
try {
531-
startActivity(intent)
532+
intent?.let { startActivity(intent) }
532533
} catch (e: Exception) {
533534
context?.let { Utils.makeToast(it, getString(R.string.sorry_there_is_no_application_to_view_csv_on_your_device)) }
534535
}

app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
33
<background android:drawable="@color/ic_launcher_background"/>
44
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
5+
<monochrome android:drawable="@drawable/ic_launcher_monochrome" />
56
</adaptive-icon>

app/src/main/res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
<string name="auto_copy_password">Auto-copy password</string>
102102
<string name="about_app">About app</string>
103103
<string name="app_author">Mikhail Grigorev</string>
104-
<string name="version_and_year" translatable="false">v1.0.2 • 2023</string>
104+
<string name="version_and_year" translatable="false">v1.0.4 • 2023</string>
105105
<string name="telegram" translatable="false">Telegram</string>
106106
<string name="vkontakte" translatable="false">Vkontakte</string>
107107
<string name="sen_email" translatable="false">Send email</string>

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
buildscript {
2-
ext.kotlin_version = '1.8.0'
2+
ext.kotlin_version = '1.8.10'
33
repositories {
44
google()
55
mavenCentral()
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:7.4.0'
9-
classpath 'com.google.gms:google-services:4.3.15'
8+
classpath "com.android.tools.build:gradle:7.4.1"
9+
classpath "com.google.gms:google-services:4.3.15"
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11-
classpath("androidx.navigation:navigation-safe-args-gradle-plugin:2.5.3")
11+
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.5.3"
1212

1313
// NOTE: Do not place your application dependencies here; they belong
1414
// in the individual module build.gradle files

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-rc-1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-rc-2-all.zip

0 commit comments

Comments
 (0)