Skip to content
This repository was archived by the owner on Jul 2, 2022. It is now read-only.

Commit 57003bb

Browse files
committed
Revert "Changed all the images"
This reverts commit 4144b64. Conflicts: lib/CodeFramework
1 parent 2d5a53f commit 57003bb

92 files changed

Lines changed: 75 additions & 101 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CodeHub.iOS/CodeHub.iOS.csproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,12 @@
347347
<Content Include="Images\notifications.png" />
348348
<Content Include="Images\pencil%402x.png" />
349349
<Content Include="Images\pencil.png" />
350+
<Content Include="Images\person%402x.png" />
351+
<Content Include="Images\person.png" />
350352
<Content Include="Images\priority%402x.png" />
351353
<Content Include="Images\priority.png" />
354+
<Content Include="Images\public%402x.png" />
355+
<Content Include="Images\public.png" />
352356
<Content Include="Images\repo%402x.png" />
353357
<Content Include="Images\repo.png" />
354358
<Content Include="Images\repository.png" />
@@ -359,6 +363,8 @@
359363
<Content Include="Images\size.png" />
360364
<Content Include="Images\star%402x.png" />
361365
<Content Include="Images\star.png" />
366+
<Content Include="Images\star2%402x.png" />
367+
<Content Include="Images\star2.png" />
362368
<Content Include="Images\tag%402x.png" />
363369
<Content Include="Images\tag.png" />
364370
<Content Include="Images\team%402x.png" />
@@ -407,10 +413,6 @@
407413
<BundleResource Include="Resources\Icon-76%402x.png" />
408414
<BundleResource Include="Resources\Icon-Small-40.png" />
409415
<BundleResource Include="Resources\Icon-Small-40%402x.png" />
410-
<BundleResource Include="Images\codehub-blur.png" />
411-
<BundleResource Include="Images\codehub-blur%402x.png" />
412-
<BundleResource Include="Images\bug.png" />
413-
<BundleResource Include="Images\bug%402x.png" />
414416
</ItemGroup>
415417
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.MonoTouch.CSharp.targets" />
416418
<ItemGroup>

CodeHub.iOS/Images/Images.cs

Lines changed: 40 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -6,67 +6,46 @@
66
namespace CodeHub.iOS
77
{
88
public static class Images
9-
{
10-
public static UIImage FromBundle(string path)
11-
{
12-
var img = UIImage.FromBundle(path);
13-
var template = img.ImageWithRenderingMode(UIImageRenderingMode.AlwaysTemplate);
14-
return template;
15-
}
16-
17-
public static UIImage FromFileAuto(string path)
18-
{
19-
var img = UIImageHelper.FromFileAuto(path);
20-
var template = img.ImageWithRenderingMode(UIImageRenderingMode.AlwaysTemplate);
21-
return template;
22-
}
23-
24-
public static UIImage Merge { get { return FromBundle("/Images/merge"); } }
25-
public static UIImage Language { get { return FromBundle("/Images/language"); } }
26-
public static UIImage Webpage { get { return FromBundle("/Images/webpage"); } }
27-
public static UIImage Repo { get { return FromBundle("/Images/repo"); } }
28-
public static UIImage Size { get { return FromBundle("/Images/size"); } }
29-
public static UIImage Locked { get { return FromBundle("/Images/locked"); } }
30-
public static UIImage Unlocked { get { return FromBundle("/Images/unlocked"); } }
31-
public static UIImage Heart { get { return FromBundle("/Images/heart"); } }
32-
public static UIImage Fork { get { return FromBundle("/Images/fork"); } }
33-
public static UIImage Pencil { get { return FromBundle("/Images/pencil"); } }
34-
public static UIImage Tag { get { return FromBundle("/Images/tag"); } }
35-
public static UIImage Comments { get { return FromBundle("/Images/comments"); } }
36-
public static UIImage BinClosed { get { return FromBundle("/Images/bin_closed"); } }
37-
public static UIImage Milestone { get { return FromBundle("/Images/milestone"); } }
38-
public static UIImage Script { get { return FromBundle("/Images/script"); } }
39-
public static UIImage Commit { get { return FromBundle("/Images/commit"); } }
40-
public static UIImage Following { get { return FromBundle("/Images/following"); } }
41-
public static UIImage Folder { get { return FromBundle("/Images/folder"); } }
42-
public static UIImage File { get { return FromBundle("/Images/file"); } }
43-
public static UIImage Branch { get { return FromBundle("/Images/branch"); } }
44-
public static UIImage Create { get { return FromBundle("/Images/create"); } }
45-
46-
public static UIImage Info { get { return FromBundle("/Images/info"); } }
47-
48-
public static UIColor IssueColor { get { return UIColor.FromRGB(0x6c, 0xc6, 0x44); } }
49-
public static UIImage Issue { get { return FromBundle("/Images/flag"); } }
50-
51-
public static UIImage User { get { return FromBundle("/Images/user"); } }
52-
public static UIImage Explore { get { return FromBundle("/Images/explore"); } }
53-
public static UIImage Group { get { return FromBundle("/Images/group"); } }
54-
public static UIImage Event { get { return FromBundle("/Images/events"); } }
55-
public static UIImage Cog { get { return FromBundle("/Images/cog"); } }
56-
public static UIImage Star { get { return FromBundle("/Images/star"); } }
57-
public static UIImage News { get { return FromBundle("/Images/news"); } }
58-
public static UIImage Notifications { get { return FromBundle("/Images/notifications"); } }
59-
public static UIImage Priority { get { return FromBundle("/Images/priority"); } }
60-
public static UIImage Anonymous { get { return FromBundle("/Images/anonymous"); } }
61-
62-
public static UIImage Team { get { return FromFileAuto("Images/team"); } }
63-
public static UIImage Eye { get { return FromFileAuto("Images/eye"); } }
64-
public static UIImage Hand { get { return FromFileAuto("Images/hand"); } }
65-
public static UIImage Bug { get { return FromFileAuto("Images/bug"); } }
66-
67-
68-
public static UIImage MenuBackground { get { return UIImageHelper.FromFileAuto("Images/codehub-blur"); } }
69-
9+
{
10+
public static UIImage Merge { get { return UIImage.FromBundle("/Images/merge"); } }
11+
public static UIImage Language { get { return UIImage.FromBundle("/Images/language"); } }
12+
public static UIImage Webpage { get { return UIImage.FromBundle("/Images/webpage"); } }
13+
public static UIImage Repo { get { return UIImage.FromBundle("/Images/repo"); } }
14+
public static UIImage Team { get { return UIImageHelper.FromFileAuto("Images/team"); } }
15+
public static UIImage Size { get { return UIImage.FromBundle("/Images/size"); } }
16+
public static UIImage Locked { get { return UIImage.FromBundle("/Images/locked"); } }
17+
public static UIImage Unlocked { get { return UIImage.FromBundle("/Images/unlocked"); } }
18+
public static UIImage Heart { get { return UIImage.FromBundle("/Images/heart"); } }
19+
public static UIImage Fork { get { return UIImage.FromBundle("/Images/fork"); } }
20+
public static UIImage Pencil { get { return UIImage.FromBundle("/Images/pencil"); } }
21+
public static UIImage Tag { get { return UIImage.FromBundle("/Images/tag"); } }
22+
public static UIImage Comments { get { return UIImage.FromBundle("/Images/comments"); } }
23+
public static UIImage BinClosed { get { return UIImage.FromBundle("/Images/bin_closed"); } }
24+
public static UIImage Milestone { get { return UIImage.FromBundle("/Images/milestone"); } }
25+
public static UIImage Script { get { return UIImage.FromBundle("/Images/script"); } }
26+
public static UIImage Commit { get { return UIImage.FromBundle("/Images/commit"); } }
27+
public static UIImage Following { get { return UIImage.FromBundle("/Images/following"); } }
28+
public static UIImage Eye { get { return UIImageHelper.FromFileAuto("Images/eye"); } }
29+
public static UIImage Hand { get { return UIImageHelper.FromFileAuto("Images/hand"); } }
30+
public static UIImage Folder { get { return UIImage.FromBundle("/Images/folder"); } }
31+
public static UIImage File { get { return UIImage.FromBundle("/Images/file"); } }
32+
public static UIImage Branch { get { return UIImage.FromBundle("/Images/branch"); } }
33+
public static UIImage Create { get { return UIImage.FromBundle("/Images/create"); } }
34+
public static UIImage Info { get { return UIImage.FromBundle("/Images/info"); } }
35+
public static UIImage Flag { get { return UIImage.FromBundle("/Images/flag"); } }
36+
public static UIImage User { get { return UIImage.FromBundle("/Images/user"); } }
37+
public static UIImage Explore { get { return UIImage.FromBundle("/Images/explore"); } }
38+
public static UIImage Group { get { return UIImage.FromBundle("/Images/group"); } }
39+
public static UIImage Event { get { return UIImage.FromBundle("/Images/events"); } }
40+
public static UIImage Person { get { return UIImage.FromBundle("/Images/person"); } }
41+
public static UIImage Cog { get { return UIImage.FromBundle("/Images/cog"); } }
42+
public static UIImage Star { get { return UIImage.FromBundle("/Images/star"); } }
43+
public static UIImage Star2 { get { return UIImage.FromBundle("/Images/star2"); } }
44+
public static UIImage News { get { return UIImage.FromBundle("/Images/news"); } }
45+
public static UIImage Public { get { return UIImage.FromBundle("/Images/public"); } }
46+
public static UIImage Notifications { get { return UIImage.FromBundle("/Images/notifications"); } }
47+
public static UIImage Priority { get { return UIImage.FromBundle("/Images/priority"); } }
48+
public static UIImage Anonymous { get { return UIImage.FromBundle("/Images/anonymous"); } }
7049

7150
public static Uri GitHubRepoUrl
7251
{

CodeHub.iOS/Images/anonymous.png

100644100755
3 KB

CodeHub.iOS/Images/anonymous@2x.png

100644100755
3.75 KB

CodeHub.iOS/Images/bin_closed.png

-2.16 KB
-1.59 KB

CodeHub.iOS/Images/branch.png

-429 Bytes

CodeHub.iOS/Images/branch@2x.png

-92 Bytes

CodeHub.iOS/Images/bug.png

-2.97 KB
Binary file not shown.

CodeHub.iOS/Images/bug@2x.png

-3.26 KB
Binary file not shown.

0 commit comments

Comments
 (0)