Skip to content

Commit 1be6e8e

Browse files
committed
1.0.10
1 parent 3624412 commit 1be6e8e

File tree

6 files changed

+30
-23
lines changed

6 files changed

+30
-23
lines changed

Helper/control

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: com.opa334.trollstoreroothelper
22
Name: trollstoreroothelper
3-
Version: 1.0.9
3+
Version: 1.0.10
44
Architecture: iphoneos-arm
55
Description: An awesome tool of some sort!!
66
Maintainer: opa334

PersistenceHelper/Resources/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<string>iPhoneOS</string>
5353
</array>
5454
<key>CFBundleVersion</key>
55-
<string>1.0.9</string>
55+
<string>1.0.10</string>
5656
<key>LSRequiresIPhoneOS</key>
5757
<true/>
5858
<key>UIDeviceFamily</key>

PersistenceHelper/control

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: com.opa334.trollstorehelper
22
Name: TrollStore Helper
3-
Version: 1.0.9
3+
Version: 1.0.10
44
Architecture: iphoneos-arm
55
Description: Helper utility to install and manage TrollStore!
66
Maintainer: opa334

Store/Resources/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<string>iPhoneOS</string>
5151
</array>
5252
<key>CFBundleVersion</key>
53-
<string>1.0.9</string>
53+
<string>1.0.10</string>
5454
<key>LSRequiresIPhoneOS</key>
5555
<true/>
5656
<key>UIDeviceFamily</key>

Store/TSAppTableViewController.m

+25-18
Original file line numberDiff line numberDiff line change
@@ -133,30 +133,37 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
133133
// Configure the cell...
134134
cell.textLabel.text = [[TSApplicationsManager sharedInstance] displayNameForAppPath:appPath];
135135
cell.detailTextLabel.text = [NSString stringWithFormat:@"%@%@", appVersion, appId];
136-
cell.imageView.layer.borderWidth = 0.2;
137-
cell.imageView.layer.borderColor = [UIColor blackColor].CGColor;
136+
cell.imageView.layer.borderWidth = 0.34;
137+
cell.imageView.layer.borderColor = [UIColor separatorColor].CGColor;
138138
cell.imageView.layer.cornerRadius = 13.8;
139139

140-
UIImage* cachedIcon = _cachedIcons[appId];
141-
if(cachedIcon)
140+
if(appId)
142141
{
143-
cell.imageView.image = cachedIcon;
142+
UIImage* cachedIcon = _cachedIcons[appId];
143+
if(cachedIcon)
144+
{
145+
cell.imageView.image = cachedIcon;
146+
}
147+
else
148+
{
149+
cell.imageView.image = _placeholderIcon;
150+
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^
151+
{
152+
//usleep(1000 * 5000); // (test delay for debugging)
153+
UIImage* iconImage = [UIImage _applicationIconImageForBundleIdentifier:appId format:10 scale:[UIScreen mainScreen].scale];
154+
_cachedIcons[appId] = iconImage;
155+
dispatch_async(dispatch_get_main_queue(), ^{
156+
if([tableView.indexPathsForVisibleRows containsObject:indexPath])
157+
{
158+
cell.imageView.image = iconImage;
159+
}
160+
});
161+
});
162+
}
144163
}
145164
else
146165
{
147166
cell.imageView.image = _placeholderIcon;
148-
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^
149-
{
150-
//usleep(1000 * 5000); // (test delay for debugging)
151-
UIImage* iconImage = [UIImage _applicationIconImageForBundleIdentifier:appId format:10 scale:[UIScreen mainScreen].scale];
152-
_cachedIcons[appId] = iconImage;
153-
dispatch_async(dispatch_get_main_queue(), ^{
154-
if([tableView.indexPathsForVisibleRows containsObject:indexPath])
155-
{
156-
cell.imageView.image = iconImage;
157-
}
158-
});
159-
});
160167
}
161168

162169
cell.preservesSuperviewLayoutMargins = NO;
@@ -186,7 +193,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
186193
NSString* appId = [appsManager appIdForAppPath:appPath];
187194
NSString* appName = [appsManager displayNameForAppPath:appPath];
188195

189-
UIAlertController* appSelectAlert = [UIAlertController alertControllerWithTitle:appName message:appId preferredStyle:UIAlertControllerStyleActionSheet];
196+
UIAlertController* appSelectAlert = [UIAlertController alertControllerWithTitle:appName message:appId?:@"" preferredStyle:UIAlertControllerStyleActionSheet];
190197

191198
/*UIAlertAction* detachAction = [UIAlertAction actionWithTitle:@"Detach from TrollStore" style:UIAlertActionStyleDefault handler:^(UIAlertAction* action)
192199
{

Store/control

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: com.opa334.trollstore
22
Name: TrollStore
3-
Version: 1.0.9
3+
Version: 1.0.10
44
Architecture: iphoneos-arm
55
Description: An awesome application!
66
Maintainer: opa334

0 commit comments

Comments
 (0)