lib/ProMotion/ipad/split_screen.rb in ProMotion-2.4.2 vs lib/ProMotion/ipad/split_screen.rb in ProMotion-2.5.0.beta1
- old
+ new
@@ -56,10 +56,9 @@
split
end
def split_screen_setup(split, args)
- args[:icon] ||= args[:item] # TODO: Remove in PM 2.2+.
if (args[:item] || args[:title]) && respond_to?(:create_tab_bar_item)
split.tabBarItem = create_tab_bar_item(args)
end
@pm_split_screen_button_title = args[:button_title] if args.has_key?(:button_title)
split.presentsWithGesture = args[:swipe] if args.has_key?(:swipe)