disable sharing from sealed channel

This commit is contained in:
Roland Osborne 2023-05-05 14:28:10 -07:00
parent 4d092662b6
commit 532c7fac9e

View File

@ -177,7 +177,7 @@ export function TopicItem({ item, focused, focus, hosting, remove, update, block
{ state.sharing && (
<ActivityIndicator style={styles.share} color={Colors.white} size="small" />
)}
{ !state.sharing && (
{ !state.sharing && contentKey == null && (
<TouchableOpacity style={styles.share} onPress={shareMessage}>
<MatIcons name="share-variant-outline" size={18} color={Colors.white} />
</TouchableOpacity>