Sha256: 2d2b95a8d7c4fef13113c2c56010d3679ef9052cbd40732d1b1e640fec62d183
Contents?: true
Size: 655 Bytes
Versions: 17
Compression:
Stored size: 655 Bytes
Contents
require 'rho/rhoapplication' class AppApplication < Rho::RhoApplication def initialize # Tab items are loaded left->right, @tabs[0] is leftmost tab in the tab-bar # Super must be called *after* settings @tabs! @tabs = nil #To remove default toolbar uncomment next line: #@@toolbar = nil super # Uncomment to set sync notification callback to /app/Settings/sync_notify. # SyncEngine::set_objectnotify_url("/app/Settings/sync_notify") SyncEngine.set_notification(-1, '/app/Settings/sync_notify', '') System.set_push_notification('/app/Settings/push_callback', '') end def on_ui_created super end end
Version data entries
17 entries across 17 versions & 2 rubygems