Skip to content

Commit 8d2a18f

Browse files
committed
chore(fc): make TipController a singleton
Signed-off-by: Brandon McAnsh <[email protected]>
1 parent 7bb8637 commit 8d2a18f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

flipchatApp/src/main/res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
<string name="error_description_failedToCloseRoom">You were unable to close this room at this time. Please try again later</string>
8181

8282
<string name="error_title_failedToSendTip">Something Went Wrong</string>
83-
<string name="error_description_failedToSendTip">You were unable to close send a tip at this time. Please try again later</string>
83+
<string name="error_description_failedToSendTip">You were unable to send a tip at this time. Please try again later</string>
8484

8585

8686
<string name="title_connectYourX">Connect Your X</string>

services/flipchat/sdk/src/main/kotlin/xyz/flipchat/chat/TipController.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ import kotlinx.coroutines.launch
1919
import xyz.flipchat.services.PaymentController
2020
import xyz.flipchat.services.PaymentEvent
2121
import javax.inject.Inject
22+
import javax.inject.Singleton
2223
import kotlin.time.Duration.Companion.seconds
2324

25+
@Singleton
2426
class TipController @Inject constructor(
2527
paymentRepository: PaymentRepository,
2628
currencyUtils: CurrencyUtils,

0 commit comments

Comments
 (0)