mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 09:49:30 +01:00
Fix sms megaphone bug.
This commit is contained in:
@@ -36,6 +36,10 @@ class SmsExportReminderSchedule(private val context: Context) : MegaphoneSchedul
|
||||
@Suppress("UsePropertyAccessSyntax")
|
||||
@WorkerThread
|
||||
fun shouldShowMegaphone(): Boolean {
|
||||
if (!Stories.isFeatureFlagEnabled()) {
|
||||
return false
|
||||
}
|
||||
|
||||
return if (Stories.isFeatureFlagEnabled() && SignalStore.misc().storiesFeatureAvailableTimestamp == 0L) {
|
||||
SignalStore.misc().storiesFeatureAvailableTimestamp = System.currentTimeMillis()
|
||||
false
|
||||
|
||||
Reference in New Issue
Block a user