diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 3ca84acf..19023aa0 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -6,7 +6,7 @@ 5. 🇨🇿 Czech by [tomo90](https://github.com/tomo90) 6. 🇯🇵 Japanese by [kato-k](https://github.com/kato-k) 7. 🇦🇩 Catalan by retiolus -8. 🇵🇱 Polish by [ZiomaleQ](https://github.com/ZiomaleQ) +8. 🇵🇱 Polish by [ZiomaleQ](https://github.com/ZiomaleQ), [rehork](https://github.com/rehork) 9. 🇸🇰 Slovak by [Juraj Liso](https://github.com/LiJu09) 10. 🇮🇩 Indonesian by [zmni](https://github.com/zmni) 11. 🇮🇹 Italian by Luigi Sforza, [IlmastroStefanuzzo](https://github.com/IlmastroStefanuzzo) diff --git a/README.md b/README.md index d519d239..726ca9eb 100644 --- a/README.md +++ b/README.md @@ -29,5 +29,5 @@ All translations are crowd sourced. To contribute or point out any errors, email ### Roadmap These are in works but they'll take time as this is a side project. - [ ] Images -- [ ] Auto backup +- [X] Auto backup - [ ] Batch selection \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index e870ba67..ffe5148e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -13,8 +13,8 @@ android { applicationId "com.omgodse.notally" minSdk 21 targetSdk 32 - versionCode 45 - versionName "5.0" + versionCode 46 + versionName "5.1" resConfigs "en", "ca", "cs", "da", "de", "el", "es", "fr", "hu", "in", "it", "ja", "nb", "nl", "nn", "pl", "pt-rBR", "pt-rPT", "ru", "sk", "sv", "tl", "tr", "uk", "vi", "zh-rCN" vectorDrawables.generatedDensities = [] } @@ -62,6 +62,5 @@ dependencies { implementation "org.ocpsoft.prettytime:prettytime:4.0.6.Final" implementation "com.google.android.material:material:1.4.0" - implementation "org.greenrobot:eventbus:3.3.1" implementation "ru.rambler.android:swipe-layout:1.1.0" } \ No newline at end of file diff --git a/app/src/main/java/com/omgodse/notally/viewmodels/NotallyModel.kt b/app/src/main/java/com/omgodse/notally/viewmodels/NotallyModel.kt index 37f12e6c..ff1bee0d 100644 --- a/app/src/main/java/com/omgodse/notally/viewmodels/NotallyModel.kt +++ b/app/src/main/java/com/omgodse/notally/viewmodels/NotallyModel.kt @@ -97,7 +97,7 @@ class NotallyModel(app: Application, private val type: Type) : AndroidViewModel( private fun getBaseNote(): BaseNote { val spans = getFilteredSpans(body) val trimmedBody = body.toString().trimEnd() - val filteredItems = items.filter { (body) -> body.isNotBlank() } + val filteredItems = items.filter { item -> item.body.isNotEmpty() } return BaseNote(id, type, folder, color, title, pinned, timestamp, labels, trimmedBody, spans, filteredItems) } diff --git a/app/src/main/res/raw/keep.xml b/app/src/main/res/raw/keep.xml new file mode 100644 index 00000000..d0963d34 --- /dev/null +++ b/app/src/main/res/raw/keep.xml @@ -0,0 +1,3 @@ + + \ No newline at end of file diff --git a/fastlane/metadata/android/en-US/changelogs/46.txt b/fastlane/metadata/android/en-US/changelogs/46.txt new file mode 100644 index 00000000..e3c37b92 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/46.txt @@ -0,0 +1,6 @@ +While other apps get slower and worse with every update, Notally gets faster and better. This update brings 2 highly requested features - + +• Auto backup +• Adjustable text size + +Updated Chinese (Simplified) and Polish translations \ No newline at end of file diff --git a/fastlane/metadata/android/en-US/full_description.txt b/fastlane/metadata/android/en-US/full_description.txt index 40ec0946..6ed41400 100644 --- a/fastlane/metadata/android/en-US/full_description.txt +++ b/fastlane/metadata/android/en-US/full_description.txt @@ -18,9 +18,9 @@ Add clickable links to notes with support for phone numbers, email addresses and Convenience -• Auto save • Dark mode • Completely free +• Auto save and backup • Adjustable text size • No permissions required • APK size of 1.2 MB (1.6 MB uncompressed) diff --git a/gradle.properties b/gradle.properties index 51007028..4c0c09fd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -18,4 +18,5 @@ org.gradle.jvmargs=-Xmx1536m -XX:+UseParallelGC # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -org.gradle.parallel=true \ No newline at end of file +org.gradle.parallel=true +android.experimental.enableNewResourceShrinker.preciseShrinking=true \ No newline at end of file