prime_reside_menu 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDkwNTBkODU5MjBjMWFiNDZlYTJkNWMwZDQxMGY3ZGM4NjQxNTcyNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OTU3YzlkMGJmYWIxYmM0MzQ1YjkyYzhkZThiMDJmMzcxYzA1ZWQ1MQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWU0NTMwMzFmMzJlYWUyMjI2N2ViM2M1ZmIxODMyNWFmMmE5NGQ5NzE0ZmRi
|
10
|
+
YWYzMWVkZmU3MDYxMjRiNmI4OTc3ZjA4NzYxMWM4YWM4OGMxODcyYTNjYzNj
|
11
|
+
ZTczYmQyYjlmYTM1NjUxMzEyNDE4N2ZmNjgyYTI5OTQ0YTgyZWQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MzJlNjNhNjYwNTc4ZDM4ZGU3YzMwNWRlZjZjMTllNWJlMGY2N2M3ZjQzMzdi
|
14
|
+
MDM2NWUyNjJjODk2MWY0ZjIwOWE4ZjYyOWE2NDMyY2RmZWE0ZWZmNDExNjhl
|
15
|
+
ZDUzNjBiZjFlOGYyNjhiMTUzNmVlYjE2Mjc2NTQyMzcyMWMxNWQ=
|
@@ -5,7 +5,7 @@ module PrimeResideMenu
|
|
5
5
|
def self.new(menu, content, options = {})
|
6
6
|
screen = self.alloc.initWithContentViewController(nil, menuViewController: nil)
|
7
7
|
screen.parallaxEnabled = false
|
8
|
-
if Prime::Config.sidebar_container.background_image?
|
8
|
+
if !Prime::Config.sidebar_container.background_image.nil?
|
9
9
|
screen.backgroundImage = Prime::Config.sidebar_container.background_image
|
10
10
|
end
|
11
11
|
|
@@ -36,6 +36,10 @@ module PrimeResideMenu
|
|
36
36
|
self.hideMenuViewController
|
37
37
|
end
|
38
38
|
|
39
|
+
def toggle_sidebar
|
40
|
+
self.presentMenuViewController
|
41
|
+
end
|
42
|
+
|
39
43
|
def menu_controller=(c)
|
40
44
|
self.setMenuViewController prepare_controller(c)
|
41
45
|
end
|