mirror of
https://github.com/balzack/databag.git
synced 2025-04-20 00:25: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',
|
flexDirection: 'column',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
|
position: 'absolute',
|
||||||
},
|
},
|
||||||
image: {
|
image: {
|
||||||
width: '50%',
|
width: '50%',
|
||||||
|
@ -152,7 +152,7 @@ export function Ring() {
|
|||||||
</Surface>
|
</Surface>
|
||||||
)}
|
)}
|
||||||
{ state.calling && (
|
{ 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.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)} />
|
<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}>
|
<View style={styles.name}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user