fix: using SimpleDateFormat from java.text instead of android.icu.text to be compatible with api less than 24

项目设置里最低api要求为21,但android.icu.text.SimpleDateFormat要求最低api24,更换为了java.text.SimpleDateFormat来支持21~23版本API
pull/2207/head
ALin 2 years ago
parent 85d7184439
commit f411ef7cce
  1. 2
      app/src/main/java/io/legado/app/ui/about/ReadRecordActivity.kt

@ -1,7 +1,7 @@
package io.legado.app.ui.about
import java.text.SimpleDateFormat
import android.content.Context
import android.icu.text.SimpleDateFormat
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem

Loading…
Cancel
Save