mirror of
https://github.com/balzack/databag.git
synced 2025-02-14 20:49:16 +00:00
disable sharing from sealed channel
This commit is contained in:
parent
4d092662b6
commit
532c7fac9e
@ -177,7 +177,7 @@ export function TopicItem({ item, focused, focus, hosting, remove, update, block
|
|||||||
{ state.sharing && (
|
{ state.sharing && (
|
||||||
<ActivityIndicator style={styles.share} color={Colors.white} size="small" />
|
<ActivityIndicator style={styles.share} color={Colors.white} size="small" />
|
||||||
)}
|
)}
|
||||||
{ !state.sharing && (
|
{ !state.sharing && contentKey == null && (
|
||||||
<TouchableOpacity style={styles.share} onPress={shareMessage}>
|
<TouchableOpacity style={styles.share} onPress={shareMessage}>
|
||||||
<MatIcons name="share-variant-outline" size={18} color={Colors.white} />
|
<MatIcons name="share-variant-outline" size={18} color={Colors.white} />
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
|
Loading…
Reference in New Issue
Block a user