Skip to content

Commit e1e598b

Browse files
committed
Update
1 parent 509244c commit e1e598b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

app/src/main/java/org/thoughtcrime/securesms/home/HomeDialogs.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,6 @@ fun DonationDialog(
345345
AccentFillButtonRect(
346346
modifier = Modifier
347347
.qaTag(R.string.qa_cta_button_positive)
348-
.weight(1f)
349348
.shimmerOverlay(),
350349
text = stringResource(R.string.donateSessionAppealReadMore),
351350
onClick = {

app/src/main/java/org/thoughtcrime/securesms/home/HomeViewModel.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import kotlinx.coroutines.flow.StateFlow
2020
import kotlinx.coroutines.flow.catch
2121
import kotlinx.coroutines.flow.combine
2222
import kotlinx.coroutines.flow.distinctUntilChanged
23+
import kotlinx.coroutines.flow.filter
2324
import kotlinx.coroutines.flow.flatMapLatest
2425
import kotlinx.coroutines.flow.map
2526
import kotlinx.coroutines.flow.onStart
@@ -262,6 +263,7 @@ class HomeViewModel @Inject constructor(
262263
if(!showExpiring && !showExpired && donationManager.shouldShowDonationCTA()){
263264
showDonationCTA()
264265
}
266+
showDonationCTA()
265267
}
266268
}
267269

0 commit comments

Comments
 (0)