Skip to content

Commit

Permalink
Different name for dev edition
Browse files Browse the repository at this point in the history
Also addresses #10.
  • Loading branch information
FliegendeWurst committed Dec 9, 2024
1 parent a6c65b8 commit 96850d2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ android {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'

buildConfigField "long", "TIMESTAMP", System.currentTimeMillis() + "L"
}
debug {
applicationIdSuffix ".debug"
Expand Down
3 changes: 3 additions & 0 deletions app/src/debug/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<resources>
<string name="app_name">Trilium Notes dev</string>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ object Cache {
// first, verify correct sync version
ConnectionUtil.getAppInfo {
if (it != null) {
if (it.syncVersion == CacheDbHelper.SYNC_VERSION && it.dbVersion == CacheDbHelper.DATABASE_VERSION) {
if ((it.syncVersion == CacheDbHelper.SYNC_VERSION || it.syncVersion == CacheDbHelper.SYNC_VERSION_0_63_3) && it.dbVersion == CacheDbHelper.DATABASE_VERSION) {
sync(0, callbackOutstanding, callbackError, callbackDone)
} else {
Log.e(TAG, "mismatched sync / database version")
Expand Down

0 comments on commit 96850d2

Please sign in to comment.