mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Inline the chat filters feature flag.
This commit is contained in:
committed by
Clark Chen
parent
117dd17215
commit
9d6337d5a8
@@ -44,7 +44,6 @@ import org.thoughtcrime.securesms.megaphone.Megaphones
|
||||
import org.thoughtcrime.securesms.payments.DataExportUtil
|
||||
import org.thoughtcrime.securesms.storage.StorageSyncHelper
|
||||
import org.thoughtcrime.securesms.util.ConversationUtil
|
||||
import org.thoughtcrime.securesms.util.FeatureFlags
|
||||
import org.thoughtcrime.securesms.util.adapter.mapping.MappingAdapter
|
||||
import org.thoughtcrime.securesms.util.navigation.safeNavigate
|
||||
import java.util.Optional
|
||||
@@ -600,16 +599,14 @@ class InternalSettingsFragment : DSLSettingsFragment(R.string.preferences__inter
|
||||
}
|
||||
)
|
||||
|
||||
if (FeatureFlags.chatFilters()) {
|
||||
dividerPref()
|
||||
sectionHeaderPref(DSLSettingsText.from("Chat Filters"))
|
||||
clickPref(
|
||||
title = DSLSettingsText.from("Reset pull to refresh tip count"),
|
||||
onClick = {
|
||||
SignalStore.uiHints().resetNeverDisplayPullToRefreshCount()
|
||||
}
|
||||
)
|
||||
}
|
||||
dividerPref()
|
||||
sectionHeaderPref(DSLSettingsText.from("Chat Filters"))
|
||||
clickPref(
|
||||
title = DSLSettingsText.from("Reset pull to refresh tip count"),
|
||||
onClick = {
|
||||
SignalStore.uiHints().resetNeverDisplayPullToRefreshCount()
|
||||
}
|
||||
)
|
||||
|
||||
dividerPref()
|
||||
clickPref(
|
||||
|
||||
Reference in New Issue
Block a user