Skip to content

Commit

Permalink
Merge pull request #5812 from akshayasalvi/tooltip-workspace-name
Browse files Browse the repository at this point in the history
Added tooltip for workspace name

(cherry picked from commit a77d468)
  • Loading branch information
Beamanator authored and roryabraham committed Oct 18, 2021
1 parent 42cdbe7 commit 42b5016
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions src/pages/workspace/WorkspaceInitialPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,17 @@ const WorkspaceInitialPage = ({
]}
onPress={openEditor}
>
<Text
numberOfLines={1}
style={[
styles.displayName,
styles.alignSelfCenter,
]}
>
{policy.name}
</Text>
<Tooltip text={policy.name}>
<Text
numberOfLines={1}
style={[
styles.displayName,
styles.alignSelfCenter,
]}
>
{policy.name}
</Text>
</Tooltip>
</Pressable>
</View>
</View>
Expand Down

0 comments on commit 42b5016

Please sign in to comment.