Skip to content

Commit

Permalink
[CI] Add space to SDK size badge (#3379)
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple authored Aug 14, 2024
1 parent 7d4ae94 commit 54af4e0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ GEM
fastlane
pry
fastlane-plugin-sonarcloud_metric_kit (0.2.1)
fastlane-plugin-stream_actions (0.3.57)
fastlane-plugin-stream_actions (0.3.59)
xctest_list (= 1.2.1)
fastlane-plugin-versioning (0.5.2)
ffi (1.17.0)
Expand Down Expand Up @@ -437,7 +437,7 @@ DEPENDENCIES
fastlane-plugin-create_xcframework
fastlane-plugin-lizard
fastlane-plugin-sonarcloud_metric_kit
fastlane-plugin-stream_actions (= 0.3.57)
fastlane-plugin-stream_actions (= 0.3.59)
fastlane-plugin-versioning
jazzy
json
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<a href="https://sonarcloud.io/summary/new_code?id=GetStream_stream-chat-swift"><img src="https://sonarcloud.io/api/project_badges/measure?project=GetStream_stream-chat-swift&metric=coverage" /></a>
</p>
<p align="center">
<img id="stream-chat-label" alt="StreamChat" src="https://img.shields.io/badge/StreamChat-6.76MB-blue"/>
<img id="stream-chat-ui-label" alt="StreamChatUI" src="https://img.shields.io/badge/StreamChatUI-4.41MB-blue"/>
<img id="stream-chat-label" alt="StreamChat" src="https://img.shields.io/badge/StreamChat-6.76%20MB-blue"/>
<img id="stream-chat-ui-label" alt="StreamChatUI" src="https://img.shields.io/badge/StreamChatUI-4.41%20MB-blue"/>
</p>

This is the official iOS SDK for [Stream Chat](https://getstream.io/chat/sdk/ios/), a service for building chat and messaging applications. This library includes both a low-level SDK and a set of reusable UI components.
Expand Down
8 changes: 4 additions & 4 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -869,11 +869,11 @@ def frameworks_sizes
stream_chat_size = File.size("#{frameworks_path}/StreamChat.framework/StreamChat")
stream_chat_ui_size = File.size("#{frameworks_path}/StreamChatUI.framework/StreamChatUI")

stream_chat_size_kb = stream_chat_size.to_f / 1024
stream_chat_ui_size_kb = (stream_chat_ui_size + assets_thinned_size).to_f / 1024
stream_chat_size_kb = stream_chat_size / 1024.0
stream_chat_ui_size_kb = (stream_chat_ui_size + assets_thinned_size) / 1024.0

{
StreamChat: stream_chat_size_kb,
StreamChatUI: stream_chat_ui_size_kb
StreamChat: stream_chat_size_kb.round(0),
StreamChatUI: stream_chat_ui_size_kb.round(0)
}
end
2 changes: 1 addition & 1 deletion fastlane/Pluginfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
gem 'fastlane-plugin-versioning'
gem 'fastlane-plugin-create_xcframework'
gem 'fastlane-plugin-sonarcloud_metric_kit'
gem 'fastlane-plugin-stream_actions', '0.3.57'
gem 'fastlane-plugin-stream_actions', '0.3.59'

0 comments on commit 54af4e0

Please sign in to comment.