lib/briar/keyboard/keyboard.rb in briar-0.1.4.b1 vs lib/briar/keyboard/keyboard.rb in briar-0.1.4.b2
- old
+ new
@@ -67,11 +67,13 @@
end
end
#noinspection RubyUnusedLocalVariable
- def briar_clear_text(view_id, timeout=5)
- _deprecated('0.1.1', "will remove 'timeout' argument in a future release", :warn)
+ def briar_clear_text(view_id, timeout=nil)
+ unless timeout.nil?
+ _deprecated('0.1.1', "will remove 'timeout' argument in a future release", :warn)
+ end
clear_text("view marked:'#{view_id}'")
# i really wanted this to work, but there are too many issues with the
# touch not bringing up the the Select menu bar - for example sometimes
# it brings up the typo correction bar.