Skip to content

Commit

Permalink
chore: Remove trash asset and substitute it for delete
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-coye committed Feb 12, 2025
1 parent 58a561e commit f9bd1cb
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 34 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"colors": [
"colors" : [
{
"color": {
"color-space": "srgb",
"components": {
"alpha": "1.000",
"blue": "0x2E",
"green": "0x47",
"red": "0xFB"
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0x2E",
"green" : "0x47",
"red" : "0xFB"
}
},
"idiom": "universal"
"idiom" : "universal"
}
],
"info": {
"author": "xcode",
"version": 1
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xB6",
"green" : "0xA2",
"red" : "0x85"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
12 changes: 0 additions & 12 deletions kDrive/Resources/Assets.xcassets/trash.imageset/Contents.json

This file was deleted.

8 changes: 0 additions & 8 deletions kDrive/Resources/Assets.xcassets/trash.imageset/trash.svg

This file was deleted.

8 changes: 6 additions & 2 deletions kDrive/UI/View/Header view/FilesHeaderView.xib
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yuD-RJ-QYe">
<rect key="frame" x="0.0" y="0.0" width="272" height="98"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="trash" translatesAutoresizingMaskIntoConstraints="NO" id="Y85-uP-1W2">
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="delete" translatesAutoresizingMaskIntoConstraints="NO" id="Y85-uP-1W2">
<rect key="frame" x="0.0" y="0.0" width="16" height="20"/>
<color key="tintColor" name="trashColor"/>
<constraints>
<constraint firstAttribute="width" constant="16" id="5i2-sc-Ux2"/>
<constraint firstAttribute="height" constant="20" id="ZN1-eq-bJp"/>
Expand Down Expand Up @@ -327,10 +328,10 @@
<resources>
<image name="chevron-down" width="24" height="24"/>
<image name="chevron-right" width="24" height="24"/>
<image name="delete" width="24" height="24"/>
<image name="list" width="24" height="24"/>
<image name="offline" width="24" height="24"/>
<image name="placeholder_avatar" width="512" height="512"/>
<image name="trash" width="17" height="17"/>
<namedColor name="backgroundCardViewColor">
<color red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
Expand All @@ -352,6 +353,9 @@
<namedColor name="titleColor">
<color red="0.20000000298023224" green="0.20000000298023224" blue="0.20000000298023224" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="trashColor">
<color red="0.52156862745098043" green="0.63529411764705879" blue="0.71372549019607845" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
Expand Down

0 comments on commit f9bd1cb

Please sign in to comment.