Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
ae60a5da
Commit
ae60a5da
authored
Dec 02, 2013
by
Felix Paul Kühne
Browse files
cloud login view: save a few selector dispatches
parent
e8802e5e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Resources/VLCCloudStorageTableViewController.xib
View file @
ae60a5da
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
</connections>
</connections>
</button>
</button>
</subviews>
</subviews>
<color
key=
"backgroundColor"
white=
"0.0
"
alpha=
"1"
colorSpace=
"calibrated
White
"
/>
<color
key=
"backgroundColor"
red=
"0.12156862745098039"
green=
"0.12156862745098039"
blue=
"0.12156862745098039
"
alpha=
"1"
colorSpace=
"calibrated
RGB
"
/>
<simulatedScreenMetrics
key=
"simulatedDestinationMetrics"
type=
"retina4"
/>
<simulatedScreenMetrics
key=
"simulatedDestinationMetrics"
type=
"retina4"
/>
</view>
</view>
</objects>
</objects>
...
...
Sources/VLCDropboxTableViewController.m
View file @
ae60a5da
...
@@ -75,7 +75,6 @@
...
@@ -75,7 +75,6 @@
_downloadingBarLabel
=
[[
UIBarButtonItem
alloc
]
initWithTitle
:
NSLocalizedString
(
@"DOWNLOADING"
,
@""
)
style
:
UIBarButtonItemStylePlain
target
:
nil
action
:
nil
];
_downloadingBarLabel
=
[[
UIBarButtonItem
alloc
]
initWithTitle
:
NSLocalizedString
(
@"DOWNLOADING"
,
@""
)
style
:
UIBarButtonItemStylePlain
target
:
nil
action
:
nil
];
[
_downloadingBarLabel
setTitleTextAttributes
:@{
UITextAttributeFont
:
[
UIFont
systemFontOfSize
:
11
.]
}
forState
:
UIControlStateNormal
];
[
_downloadingBarLabel
setTitleTextAttributes
:@{
UITextAttributeFont
:
[
UIFont
systemFontOfSize
:
11
.]
}
forState
:
UIControlStateNormal
];
self
.
loginToCloudStorageView
.
backgroundColor
=
[
UIColor
colorWithWhite
:.
122
alpha
:
1
.];
[
self
.
cloudStorageLogo
setImage
:[
UIImage
imageNamed
:
@"dropbox-white.png"
]];
[
self
.
cloudStorageLogo
setImage
:[
UIImage
imageNamed
:
@"dropbox-white.png"
]];
[
self
.
cloudStorageLogo
sizeToFit
];
[
self
.
cloudStorageLogo
sizeToFit
];
self
.
cloudStorageLogo
.
center
=
self
.
view
.
center
;
self
.
cloudStorageLogo
.
center
=
self
.
view
.
center
;
...
...
Sources/VLCGoogleDriveTableViewController.m
View file @
ae60a5da
...
@@ -74,8 +74,9 @@
...
@@ -74,8 +74,9 @@
_downloadingBarLabel
=
[[
UIBarButtonItem
alloc
]
initWithTitle
:
NSLocalizedString
(
@"DOWNLOADING"
,
@""
)
style
:
UIBarButtonItemStylePlain
target
:
nil
action
:
nil
];
_downloadingBarLabel
=
[[
UIBarButtonItem
alloc
]
initWithTitle
:
NSLocalizedString
(
@"DOWNLOADING"
,
@""
)
style
:
UIBarButtonItemStylePlain
target
:
nil
action
:
nil
];
[
_downloadingBarLabel
setTitleTextAttributes
:@{
UITextAttributeFont
:
[
UIFont
systemFontOfSize
:
11
.]
}
forState
:
UIControlStateNormal
];
[
_downloadingBarLabel
setTitleTextAttributes
:@{
UITextAttributeFont
:
[
UIFont
systemFontOfSize
:
11
.]
}
forState
:
UIControlStateNormal
];
self
.
loginToCloudStorageView
.
backgroundColor
=
[
UIColor
colorWithWhite
:.
122
alpha
:
1
.];
[
self
.
cloudStorageLogo
setImage
:[
UIImage
imageNamed
:
@"DriveWhite"
]];
[
self
_setupLogo
];
[
self
.
cloudStorageLogo
sizeToFit
];
self
.
cloudStorageLogo
.
center
=
self
.
view
.
center
;
[
self
.
loginButton
setTitle
:
NSLocalizedString
(
@"DROPBOX_LOGIN"
,
@""
)
forState
:
UIControlStateNormal
];
[
self
.
loginButton
setTitle
:
NSLocalizedString
(
@"DROPBOX_LOGIN"
,
@""
)
forState
:
UIControlStateNormal
];
...
@@ -89,13 +90,6 @@
...
@@ -89,13 +90,6 @@
[
self
.
view
addSubview
:
_activityIndicator
];
[
self
.
view
addSubview
:
_activityIndicator
];
}
}
-
(
void
)
_setupLogo
{
[
self
.
cloudStorageLogo
setImage
:[
UIImage
imageNamed
:
@"DriveWhite"
]];
[
self
.
cloudStorageLogo
sizeToFit
];
self
.
cloudStorageLogo
.
center
=
self
.
view
.
center
;
}
-
(
GTMOAuth2ViewControllerTouch
*
)
createAuthController
-
(
GTMOAuth2ViewControllerTouch
*
)
createAuthController
{
{
_authController
=
[[
GTMOAuth2ViewControllerTouch
alloc
]
initWithScope
:
kGTLAuthScopeDrive
_authController
=
[[
GTMOAuth2ViewControllerTouch
alloc
]
initWithScope
:
kGTLAuthScopeDrive
...
...
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