the second phase commit
This commit is contained in:
parent
efbcd71dd7
commit
3f4e2cc163
@ -76,6 +76,7 @@ import com.localee.mireo.app.utils.DHStringUtils.getPublicRequest
|
|||||||
import com.localee.mireo.app.utils.MsMMKVUtils
|
import com.localee.mireo.app.utils.MsMMKVUtils
|
||||||
import com.localee.mireo.app.utils.NotificationUtils
|
import com.localee.mireo.app.utils.NotificationUtils
|
||||||
import com.localee.mireo.app.utils.TranslatesUtils
|
import com.localee.mireo.app.utils.TranslatesUtils
|
||||||
|
import com.localee.mireo.app.utils.shouldShowNotification
|
||||||
import com.localee.mireo.app.utils.singleClick
|
import com.localee.mireo.app.utils.singleClick
|
||||||
import com.localee.mireo.shortapp.R
|
import com.localee.mireo.shortapp.R
|
||||||
import com.lxj.xpopup.XPopup
|
import com.lxj.xpopup.XPopup
|
||||||
@ -904,18 +905,18 @@ class HomeActivity : AppActivity(), NavigationAdapter.OnNavigationListener,
|
|||||||
firebase()
|
firebase()
|
||||||
openNotify()
|
openNotify()
|
||||||
} else {
|
} else {
|
||||||
// if (shouldShowNotification()) {
|
if (shouldShowNotification()) {
|
||||||
openNotification()
|
openNotification()
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (NotificationUtils.isNotificationEnabled(this)) {
|
if (NotificationUtils.isNotificationEnabled(this)) {
|
||||||
firebase()
|
firebase()
|
||||||
openNotify()
|
openNotify()
|
||||||
} else {
|
} else {
|
||||||
// if (shouldShowNotification()) {
|
if (shouldShowNotification()) {
|
||||||
openNotification()
|
openNotification()
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -966,6 +967,7 @@ class HomeActivity : AppActivity(), NavigationAdapter.OnNavigationListener,
|
|||||||
|
|
||||||
override fun onHttpSuccess(result: HttpData<Any>) {
|
override fun onHttpSuccess(result: HttpData<Any>) {
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onHttpFail(throwable: Throwable) {
|
override fun onHttpFail(throwable: Throwable) {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user