Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC-iOS
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
270
Issues
270
List
Boards
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
VLC-iOS
Commits
98da7bee
Commit
98da7bee
authored
Jan 02, 2015
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cloud services table: correctly show current state of OneDrive
parent
1a92e35f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Sources/VLCCloudServicesTableViewController.m
Sources/VLCCloudServicesTableViewController.m
+3
-3
No files found.
Sources/VLCCloudServicesTableViewController.m
View file @
98da7bee
...
...
@@ -17,6 +17,7 @@
#import "VLCGoogleDriveTableViewController.h"
#import "VLCBoxTableViewController.h"
#import "VLCOneDriveTableViewController.h"
#import "VLCOneDriveController.h"
#import "VLCDocumentPickerController.h"
#import "VLCCloudServiceCell.h"
...
...
@@ -117,10 +118,9 @@
}
case
3
:
{
//OneDrive
//TODO: figure out right way to check session state
BOOL
isAuthorized
=
NO
;
//[[OneDriveSDK sharedSDK] isAuthorized];
BOOL
isAuthorized
=
[[
VLCOneDriveController
sharedInstance
]
activeSession
];
cell
.
icon
.
image
=
[
UIImage
imageNamed
:
@"OneDrive"
];
cell
.
cloudTitle
.
text
=
@"One
Drive"
;
cell
.
cloudTitle
.
text
=
@"OneDrive"
;
cell
.
cloudInformation
.
text
=
isAuthorized
?
NSLocalizedString
(
@"LOGGED_IN"
,
""
)
:
NSLocalizedString
(
@"LOGIN"
,
""
);
break
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment