lib/ProMotion/delegate/delegate_module.rb in ProMotion-2.2.1 vs lib/ProMotion/delegate/delegate_module.rb in ProMotion-2.2.2

- old
+ new

@@ -95,10 +95,10 @@ @status_bar_visible = visible @status_bar_opts = opts end def apply_status_bar - @status_bar_visible ||= true + @status_bar_visible = true if @status_bar_visible.nil? @status_bar_opts ||= { animation: :none } UIApplication.sharedApplication.setStatusBarHidden(!@status_bar_visible, withAnimation:status_bar_animation(@status_bar_opts[:animation])) end def status_bar_animation(opt)