Explorar o código

fix 修复暂停倒计时无效的问题

RobinTan1024 %!s(int64=4) %!d(string=hai) anos
pai
achega
004d96d320

+ 1 - 0
app/src/main/java/com/doverfuelingsolutions/issp/view/widget/FragmentToolbar.kt

@@ -51,6 +51,7 @@ class FragmentToolbar(context: Context, attrs: AttributeSet) : FrameLayout(conte
                 isHomeVisible = getBoolean(R.styleable.FragmentToolbar_homeVisible, true)
                 title = getString(R.styleable.FragmentToolbar_title) ?: ""
                 countdownTime = getInteger(R.styleable.FragmentToolbar_countdownTime, 60)
+                currentTime = countdownTime
                 countdownAutoStart = getBoolean(R.styleable.FragmentToolbar_countdownAutoStart, true)
             } finally {
                 recycle()