|
@@ -588,8 +588,9 @@
|
|
|
+ (NSString *)getUserAgent
|
|
|
{
|
|
|
NSString *appVersion = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"];
|
|
|
+ NSString *userAgent = [[NCBrandOptions sharedInstance] userAgent];
|
|
|
|
|
|
- return [NSString stringWithFormat:@"%@%@",@"Mozilla/5.0 (iOS) Nextcloud-iOS/",appVersion];
|
|
|
+ return [NSString stringWithFormat:@"Mozilla/5.0 (iOS) %@/%@", userAgent, appVersion];
|
|
|
}
|
|
|
|
|
|
+ (NSString *)dateDiff:(NSDate *) convertedDate
|