From ae9d3810e156ce20c1522212369e506cefc0f089 Mon Sep 17 00:00:00 2001 From: andrew Date: Thu, 17 Aug 2023 14:02:22 +0930 Subject: [PATCH] Fix website flavor TokenFetcher --- .../thoughtcrime/securesms/notifications/NoOpTokenFetcher.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/src/website/kotlin/org/thoughtcrime/securesms/notifications/NoOpTokenFetcher.kt b/app/src/website/kotlin/org/thoughtcrime/securesms/notifications/NoOpTokenFetcher.kt index 1705eefe0..875518354 100644 --- a/app/src/website/kotlin/org/thoughtcrime/securesms/notifications/NoOpTokenFetcher.kt +++ b/app/src/website/kotlin/org/thoughtcrime/securesms/notifications/NoOpTokenFetcher.kt @@ -1,12 +1,9 @@ package org.thoughtcrime.securesms.notifications -import kotlinx.coroutines.Job -import kotlinx.coroutines.MainScope -import kotlinx.coroutines.launch import javax.inject.Inject import javax.inject.Singleton @Singleton class NoOpTokenFetcher @Inject constructor() : TokenFetcher { - override fun fetch(): Job = MainScope().launch { } + override suspend fun fetch(): String? = null }