File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
app/src/main/java/com/junkfood/seal Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 30
30
31
31
const labels = context.payload.issue.labels.map(label => label.name);
32
32
33
- if ((issueBody.includes('instagram') || issueBody.includes('facebook')) && labels.includes('bug')) {
33
+ if ((issueBody.includes('instagram') || issueBody.includes('facebook') || issueBody.includes('twitter') ) && labels.includes('bug')) {
34
34
35
35
await github.issues.update({
36
36
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ import dagger.hilt.android.HiltAndroidApp
40
40
import kotlinx.coroutines.CoroutineScope
41
41
import kotlinx.coroutines.Dispatchers
42
42
import kotlinx.coroutines.SupervisorJob
43
- import kotlinx.coroutines.flow.last
44
43
import kotlinx.coroutines.launch
45
44
import kotlinx.coroutines.withContext
46
45
import java.io.File
@@ -65,7 +64,7 @@ class App : Application() {
65
64
66
65
applicationScope.launch((Dispatchers .IO )) {
67
66
try {
68
- if (DatabaseUtil .getTemplateFlow().last ().isEmpty()) {
67
+ if (DatabaseUtil .getTemplateList ().isEmpty()) {
69
68
PreferenceUtil .initializeTemplateSample()
70
69
}
71
70
YoutubeDL .init (this @App)
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ object DatabaseUtil {
53
53
suspend fun insertCookieProfile (profile : CookieProfile ) = dao.insertCookieProfile(profile)
54
54
55
55
suspend fun updateCookieProfile (profile : CookieProfile ) = dao.updateCookieProfile(profile)
56
- private suspend fun getTemplateList () = dao.getTemplateList()
56
+ suspend fun getTemplateList () = dao.getTemplateList()
57
57
private suspend fun getShortcutList () = dao.getShortcutList()
58
58
suspend fun deleteInfoListByIdList (idList : List <Int >, deleteFile : Boolean = false) =
59
59
dao.deleteInfoListByIdList(idList, deleteFile)
You can’t perform that action at this time.
0 commit comments