Browse Source

Merge branch 'change-annotation-default-color'

Wayne 5 years ago
parent
commit
89a0a0cd5f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      reader/src/main/java/com/kdanmobile/reader/ReaderViewModel.kt

+ 2 - 2
reader/src/main/java/com/kdanmobile/reader/ReaderViewModel.kt

@@ -55,8 +55,8 @@ class ReaderViewModel(private val pdfSdkLicense: String, private val pdfSdkRsaMs
 
 
     companion object {
     companion object {
         val DEFAULT_HIGHLIGHT_ATTR = AnnotationAttribute(Color.parseColor("#ffdc1b"), 127)
         val DEFAULT_HIGHLIGHT_ATTR = AnnotationAttribute(Color.parseColor("#ffdc1b"), 127)
-        val DEFAULT_STRIKE_ATTR = AnnotationAttribute(Color.parseColor("#dd0202"), 255)
-        val DEFAULT_UNDERLINE_ATTR = AnnotationAttribute(Color.parseColor("#dd0202"), 255)
+        val DEFAULT_STRIKE_ATTR = AnnotationAttribute(Color.parseColor("#57d214"), 255)
+        val DEFAULT_UNDERLINE_ATTR = AnnotationAttribute(Color.parseColor("#296dd2"), 255)
         val DEFAULT_INK_ATTR = InkAttribute(Color.parseColor("#dd0202"), 255, 1f, Brush.Fountain)
         val DEFAULT_INK_ATTR = InkAttribute(Color.parseColor("#dd0202"), 255, 1f, Brush.Fountain)
     }
     }