diff --git a/app/mobile/ios/Databag.xcodeproj/project.pbxproj b/app/mobile/ios/Databag.xcodeproj/project.pbxproj index c42384fa..d9c62345 100644 --- a/app/mobile/ios/Databag.xcodeproj/project.pbxproj +++ b/app/mobile/ios/Databag.xcodeproj/project.pbxproj @@ -622,7 +622,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.13; + MARKETING_VERSION = 1.15; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", @@ -656,7 +656,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.13; + MARKETING_VERSION = 1.15; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", diff --git a/app/mobile/src/session/cardsIcon/useCardIcon.hook.js b/app/mobile/src/session/cardsIcon/useCardIcon.hook.js index a54085d1..38a93e57 100644 --- a/app/mobile/src/session/cardsIcon/useCardIcon.hook.js +++ b/app/mobile/src/session/cardsIcon/useCardIcon.hook.js @@ -22,7 +22,7 @@ export function useCardIcon() { if (status === 'pending' || status === 'requested') { requested = true; } - if (item.card?.offsync) { + if (item.card?.offsync && status === 'connected') { offsync = true; } }); diff --git a/app/mobile/src/session/contact/Contact.jsx b/app/mobile/src/session/contact/Contact.jsx index da0cb5d5..8321fa87 100644 --- a/app/mobile/src/session/contact/Contact.jsx +++ b/app/mobile/src/session/contact/Contact.jsx @@ -12,6 +12,7 @@ export function ContactHeader({ contact }) { } export function ContactBody({ contact }) { + const { state, actions } = useContact(contact); const getStatusText = (status) => { @@ -198,6 +199,11 @@ export function ContactBody({ contact }) { Report Contact + { state.offsync && ( + + Resync Contact + + )} )} { state.status === 'connecting' && ( @@ -286,11 +292,6 @@ export function ContactBody({ contact }) { )} - { state.offsync && ( - - Resync Contact - - )} );