Skip to content

Commit

Permalink
add padding to the offlineindicator in screenwrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
jasperhuangg committed Jul 20, 2022
1 parent 0332c94 commit 62c192d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/ScreenWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,11 @@ class ScreenWrapper extends React.Component {
: this.props.children
}
<KeyboardShortcutsModal />
{this.props.isSmallScreenWidth && <OfflineIndicator />}
{this.props.isSmallScreenWidth && this.props.network.isOffline && (
<View style={styles.chatItemComposeSecondaryRow}>
<OfflineIndicator />
</View>
)}
</KeyboardAvoidingView>
</View>
);
Expand Down

0 comments on commit 62c192d

Please sign in to comment.