rename prompt since Messages added a function by that name

This commit is contained in:
Joey Hess 2017-05-15 17:38:22 -04:00
parent 18b9a4b802
commit 44baa7b306
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -257,9 +257,9 @@ checkOldUnused urlrenderer = go =<< annexExpireUnused <$> liftAnnex Annex.getGit
where where
go (Just Nothing) = noop go (Just Nothing) = noop
go (Just (Just expireunused)) = expireUnused (Just expireunused) go (Just (Just expireunused)) = expireUnused (Just expireunused)
go Nothing = maybe noop prompt =<< describeUnusedWhenBig go Nothing = maybe noop promptconfig =<< describeUnusedWhenBig
prompt msg = promptconfig msg =
#ifdef WITH_WEBAPP #ifdef WITH_WEBAPP
do do
button <- mkAlertButton True (T.pack "Configure") urlrenderer ConfigUnusedR button <- mkAlertButton True (T.pack "Configure") urlrenderer ConfigUnusedR