Pop the current window from the stack and show the previous one

Require: window_stack.not_empty

Property definitions

app :: ui $ App :: pop_window
	# Pop the current `window` from the stack and show the previous one
	#
	# Require: `window_stack.not_empty`
	fun pop_window
	do
		assert window_stack.not_empty
		window_stack.pop
		window = window_stack.last
		window.on_resume
	end
lib/app/ui.nit:59,2--68,4

ios :: ui $ App :: pop_window
	# Use iOS ` popViewControllerAnimated`
	redef fun pop_window
	do
		manual_pop = true
		pop_view_controller app_delegate.window
		super
	end
lib/ios/ui/ui.nit:132,2--138,4