rename another 'close'
This commit is contained in:
parent
b8585a9452
commit
b827afba03
1 changed files with 2 additions and 2 deletions
|
@ -105,12 +105,12 @@ pairReqReceived :: Bool -> UrlRenderer -> PairMsg -> Assistant ()
|
|||
pairReqReceived True _ _ = noop -- ignore our own PairReq
|
||||
pairReqReceived False urlrenderer msg = do
|
||||
url <- liftIO $ renderUrl urlrenderer (FinishLocalPairR msg) []
|
||||
close <- asIO1 removeAlert
|
||||
closealert <- asIO1 removeAlert
|
||||
void $ addAlert $ pairRequestReceivedAlert repo
|
||||
AlertButton
|
||||
{ buttonUrl = url
|
||||
, buttonLabel = T.pack "Respond"
|
||||
, buttonAction = Just close
|
||||
, buttonAction = Just closealert
|
||||
}
|
||||
where
|
||||
repo = pairRepo msg
|
||||
|
|
Loading…
Reference in a new issue