浏览代码

Change annotation default color

Wayne 5 年之前
父节点
当前提交
7d00de9dde
共有 1 个文件被更改,包括 2 次插入2 次删除
  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 {
         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)
     }