about summary refs log tree commit diff
path: root/src/view/screens/Settings.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-05-02 23:32:16 -0500
committerGitHub <noreply@github.com>2023-05-02 23:32:16 -0500
commit883700e09029bd0d9221edb9910d065da5786fe0 (patch)
treecdf6c849c8b378dffcfc305834a4b31ecbefb7ae /src/view/screens/Settings.tsx
parent2eb0d8c095b70b7ec39b7a1acbd126457dea9322 (diff)
downloadvoidsky-883700e09029bd0d9221edb9910d065da5786fe0.tar.zst
[APP-601] Add muted accounts list (#565)
* Add muted accounts list

* Fix icon for muted accounts
Diffstat (limited to 'src/view/screens/Settings.tsx')
-rw-r--r--src/view/screens/Settings.tsx14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/view/screens/Settings.tsx b/src/view/screens/Settings.tsx
index 7c48ce96b..35c7f4552 100644
--- a/src/view/screens/Settings.tsx
+++ b/src/view/screens/Settings.tsx
@@ -289,6 +289,20 @@ export const SettingsScreen = withAuthRequired(
             </Text>
           </TouchableOpacity>
           <Link
+            testID="mutedAccountsBtn"
+            style={[styles.linkCard, pal.view, isSwitching && styles.dimmed]}
+            href="/settings/muted-accounts">
+            <View style={[styles.iconContainer, pal.btn]}>
+              <FontAwesomeIcon
+                icon={['far', 'eye-slash']}
+                style={pal.text as FontAwesomeIconStyle}
+              />
+            </View>
+            <Text type="lg" style={pal.text}>
+              Muted accounts
+            </Text>
+          </Link>
+          <Link
             testID="blockedAccountsBtn"
             style={[styles.linkCard, pal.view, isSwitching && styles.dimmed]}
             href="/settings/blocked-accounts">