From 445b36436507b491587eef76fc5c4e4d5670702d Mon Sep 17 00:00:00 2001 From: balzack Date: Mon, 10 Oct 2022 22:44:22 -0700 Subject: [PATCH] minor cleanup --- app/mobile/ios/Databag.xcodeproj/project.pbxproj | 4 ++-- app/mobile/src/api/setChannelCard.js | 1 - app/mobile/src/session/details/Details.styled.js | 1 - .../src/session/details/memberItem/MemberItem.styled.js | 3 +-- .../src/session/details/memberItem/useMemberItem.hook.js | 1 - 5 files changed, 3 insertions(+), 7 deletions(-) diff --git a/app/mobile/ios/Databag.xcodeproj/project.pbxproj b/app/mobile/ios/Databag.xcodeproj/project.pbxproj index 5574a3be..a1032b72 100644 --- a/app/mobile/ios/Databag.xcodeproj/project.pbxproj +++ b/app/mobile/ios/Databag.xcodeproj/project.pbxproj @@ -310,7 +310,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = 6; + CURRENT_PROJECT_VERSION = 7; DEVELOPMENT_TEAM = 3P65PQ7SUR; ENABLE_BITCODE = NO; GCC_PREPROCESSOR_DEFINITIONS = ( @@ -348,7 +348,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = 6; + CURRENT_PROJECT_VERSION = 7; DEVELOPMENT_TEAM = 3P65PQ7SUR; INFOPLIST_FILE = Databag/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Databag; diff --git a/app/mobile/src/api/setChannelCard.js b/app/mobile/src/api/setChannelCard.js index b8dda084..87acb271 100644 --- a/app/mobile/src/api/setChannelCard.js +++ b/app/mobile/src/api/setChannelCard.js @@ -1,7 +1,6 @@ import { checkResponse, fetchWithTimeout } from './fetchUtil'; export async function setChannelCard(server, token, channelId, cardId ) { -console.log("SETTING"); let channel = await fetchWithTimeout(`https://${server}/content/channels/${channelId}/cards/${cardId}?agent=${token}`, {method: 'PUT'}); checkResponse(channel); return await channel.json(); diff --git a/app/mobile/src/session/details/Details.styled.js b/app/mobile/src/session/details/Details.styled.js index 3fa527d5..6d8bd143 100644 --- a/app/mobile/src/session/details/Details.styled.js +++ b/app/mobile/src/session/details/Details.styled.js @@ -152,7 +152,6 @@ export const styles = StyleSheet.create({ borderWidth: 1, borderColor: Colors.lightgrey, borderRadius: 4, - padding: 8, marginBottom: 8, height: 250, }, diff --git a/app/mobile/src/session/details/memberItem/MemberItem.styled.js b/app/mobile/src/session/details/memberItem/MemberItem.styled.js index 8a94994a..a234120b 100644 --- a/app/mobile/src/session/details/memberItem/MemberItem.styled.js +++ b/app/mobile/src/session/details/memberItem/MemberItem.styled.js @@ -10,8 +10,7 @@ export const styles = StyleSheet.create({ alignItems: 'center', borderBottomWidth: 1, borderColor: Colors.itemDivider, - paddingLeft: 16, - paddingRight: 16, + paddingLeft: 8, }, detail: { paddingLeft: 12, diff --git a/app/mobile/src/session/details/memberItem/useMemberItem.hook.js b/app/mobile/src/session/details/memberItem/useMemberItem.hook.js index d7490de9..a9e1d932 100644 --- a/app/mobile/src/session/details/memberItem/useMemberItem.hook.js +++ b/app/mobile/src/session/details/memberItem/useMemberItem.hook.js @@ -36,7 +36,6 @@ export function useMemberItem(item, members) { setMember: (member) => { updateState({ member }); if (member) { -console.log("SET CARD:", item.cardId); conversation.actions.setCard(item.cardId); } else {