v0.3.0:今日筛选含逾期与今日完成、统计今日区间、重复任务自动滚动、通知自定义布局
This commit is contained in:
@@ -85,6 +85,13 @@ class MainActivity : AppCompatActivity() {
|
||||
super.onSaveInstanceState(outState)
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
// 进程常驻时跨天不会重走 App.onCreate,回到前台再滚一次重复任务。
|
||||
// 放在 super 之前:片段 onResume 里的 reload 读到的就是推进后的日期。
|
||||
runCatching { com.focusbox.app.data.Store.rollRepeatingTasks() }
|
||||
super.onResume()
|
||||
}
|
||||
|
||||
override fun onNewIntent(intent: Intent?) {
|
||||
super.onNewIntent(intent)
|
||||
val tab = intent?.getIntExtra(EXTRA_TAB, -1) ?: -1
|
||||
|
||||
Reference in New Issue
Block a user