mirror of
https://github.com/balzack/databag.git
synced 2025-04-19 16:15:16 +00:00
fixing missing call indicator in tablet layout
This commit is contained in:
parent
8cc71831f8
commit
60f20748be
@ -9,6 +9,7 @@ export const styles = StyleSheet.create({
|
||||
flexDirection: 'column',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
position: 'absolute',
|
||||
},
|
||||
image: {
|
||||
width: '50%',
|
||||
|
@ -152,7 +152,7 @@ export function Ring() {
|
||||
</Surface>
|
||||
)}
|
||||
{ state.calling && (
|
||||
<Surface elevation={4} mode="flat" style={styles.ring}>
|
||||
<Surface elevation={4} mode="flat" style={{ ...styles.ring, borderRadius: state.layout === 'large' ? 16 : 0 }}>
|
||||
<IconButton style={styles.circleIcon} iconColor="white" disabled={!state.connected} containerColor={Colors.primary} icon={state.audioEnabled ? 'microphone' : 'microphone-off'} compact="true" mode="contained" size={24} onPress={toggleAudio} />
|
||||
<IconButton style={styles.circleIcon} iconColor="white" disabled={!state.connected} containerColor={Colors.confirmed} icon={(state.remoteVideo || state.localVideo) ? 'video-switch-outline' : 'arrow-expand-all'} compact="true" mode="contained" size={24} onPress={()=>actions.setFullscreen(true)} />
|
||||
<View style={styles.name}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user