Skip to content

Commit

Permalink
try something else
Browse files Browse the repository at this point in the history
  • Loading branch information
amberin committed Oct 24, 2024
1 parent 934a85e commit 822fc88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
# public *;
#}

-keep class com.google.gson.reflect.TypeToken { *; }
-keep class * extends com.google.gson.reflect.TypeToken

# Keep line numbers and file names
-keepattributes SourceFile,LineNumberTable

Expand Down
5 changes: 3 additions & 2 deletions app/src/main/java/com/orgzly/android/db/NotesClipboard.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.orgzly.android.db

import com.google.gson.Gson
import com.google.gson.annotations.SerializedName
import com.orgzly.android.App
import com.orgzly.android.data.DataRepository
import com.orgzly.android.db.entity.Note
Expand All @@ -13,8 +14,8 @@ import java.io.StringWriter
data class NotesClipboard(val entries: List<Entry> = emptyList()) {

data class Entry(
val note: Note,
val properties: List<NoteProperty>
@SerializedName("note") val note: Note,
@SerializedName("properties") val properties: List<NoteProperty>
)

val count: Int
Expand Down

0 comments on commit 822fc88

Please sign in to comment.