X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=miTask.icl;h=0d7f450d6ad1017be76ed8228f0edeb582d139cf;hb=f30142f32b5aec7e51200b6045014993c700b74a;hp=09fb5dd53fd09348b1a8d72821ec79b36a9ba658;hpb=71787cb6678d7a0d2014d373af5e55447796f78d;p=mTask.git diff --git a/miTask.icl b/miTask.icl index 09fb5dd..0d7f450 100644 --- a/miTask.icl +++ b/miTask.icl @@ -33,7 +33,7 @@ Start world = startEngine (mTaskManager mTaskManager :: Task () mTaskManager = anyTask [ viewmTasks @! () - , whileUnchanged sdsStore viewShares + , whileUnchanged sdsStore manageShares , whileUnchanged deviceStore $ manageDevices process ] <<@ ApplyLayout (sequenceLayouts [ arrangeWithSideBar 0 LeftSide 260 True @@ -49,8 +49,9 @@ mTaskManager = anyTask [] = viewInformation "No devices yet" [] () ds = fromJust ('DM'.get mTaskTask allmTasks) >>= \bc->(enterChoice "Choose Device" [ChooseFromDropdown \t->t.deviceName] ds - -&&- enterInformation "Timeout, 0 for one-shot" [] + -&&- enterInformation "Timeout" [] ) >>* [OnAction (Action "Send") (withValue $ Just o sendToDevice mTaskTask bc)] + @! () ) process :: MTaskDevice (Shared Channels) -> Task ()