Rename LabelsOnMeDialog, fix close

This commit is contained in:
Eric Bailey
2024-02-26 18:52:28 -06:00
parent 763fd5bc93
commit 6b9e3764b3
3 changed files with 26 additions and 11 deletions
+2 -1
View File
@@ -11,7 +11,7 @@ import {CircleInfo_Stroke2_Corner0_Rounded as CircleInfo} from '#/components/ico
import {
LabelsOnMeDialog,
useLabelsOnMeDialogControl,
} from '#/components/LabelsOnMe'
} from '#/components/LabelsOnMeDialog'
export function LabelsOnMe({
details,
@@ -49,6 +49,7 @@ export function LabelsOnMe({
size={size || 'small'}
label={_(msg`View information about these labels`)}
onPress={() => {
console.log('open')
control.open()
}}>
<ButtonIcon position="left" icon={CircleInfo} />