pull/36/head
kunfei 5 years ago
parent 0b1c508fc9
commit 1743dfc1f9
  1. 5
      app/src/main/java/io/legado/app/ui/about/DonateActivity.kt

@ -8,11 +8,10 @@ import android.content.Intent
import android.net.Uri import android.net.Uri
import android.os.Bundle import android.os.Bundle
import android.widget.Toast import android.widget.Toast
import androidx.lifecycle.AndroidViewModel
import io.legado.app.R import io.legado.app.R
import io.legado.app.base.BaseActivity import io.legado.app.base.BaseActivity
import io.legado.app.lib.theme.ATH import io.legado.app.lib.theme.ATH
import io.legado.app.utils.getViewModel import io.legado.app.utils.ACache
import kotlinx.android.synthetic.main.activity_donate.* import kotlinx.android.synthetic.main.activity_donate.*
import kotlinx.android.synthetic.main.view_title_bar.* import kotlinx.android.synthetic.main.view_title_bar.*
import org.jetbrains.anko.toast import org.jetbrains.anko.toast
@ -60,7 +59,7 @@ class DonateActivity : BaseActivity(R.layout.activity_donate) {
} catch (e: Exception) { } catch (e: Exception) {
e.printStackTrace() e.printStackTrace()
} finally { } finally {
ACache.get(this, cacheDir = false).put("proTime", System.currentTimeMillis())
} }
} }

Loading…
Cancel
Save