summaryrefslogtreecommitdiff
path: root/src/clojure/io/cons/carddav_sync/authenticator_activity.clj
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amatus.name>2013-09-01 14:38:54 -0500
committerDavid Barksdale <amatus@amatus.name>2013-09-01 14:38:54 -0500
commitcae13d7a7968eb7fca68a6d4f7b4da7adf1f24f7 (patch)
tree5990eca8cfe227c52af5271434ec01075ceb05ed /src/clojure/io/cons/carddav_sync/authenticator_activity.clj
parent263608cc0d6642d793cc650e0a544e09f3d6815e (diff)
Extend SplashActivity to launch any activity.
If authenticator_activity is started without launching the main activity, neko will not be initialized and on-ui throws an exception. So instead of starting authenticator_activity directly, ask SplashActivity to do it for us and initialize neko if it wasn't already. I'm probably abusing the Intent selector, but it seems to work.
Diffstat (limited to 'src/clojure/io/cons/carddav_sync/authenticator_activity.clj')
-rw-r--r--src/clojure/io/cons/carddav_sync/authenticator_activity.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clojure/io/cons/carddav_sync/authenticator_activity.clj b/src/clojure/io/cons/carddav_sync/authenticator_activity.clj
index 4e23d63..1b3e496 100644
--- a/src/clojure/io/cons/carddav_sync/authenticator_activity.clj
+++ b/src/clojure/io/cons/carddav_sync/authenticator_activity.clj
@@ -12,4 +12,4 @@
(on-ui
(set-content-view! this
(make-ui [:linear-layout {}
- [:text-view {:text "Hello from Clojure!"}]]))))
+ [:text-view {:text "Authenticator"}]]))))