new alert while scanning
Like the old one, but does not mention which remotes are scanned. I think this is less confusing, as it does not imply the remotes were somehow accessed (which they are not; inaccessible remotes can be scanned.)
This commit is contained in:
parent
aadb9069b3
commit
a30768cf7f
2 changed files with 17 additions and 7 deletions
|
@ -240,6 +240,13 @@ commitAlert = activityAlert Nothing
|
|||
showRemotes :: [Remote] -> TenseChunk
|
||||
showRemotes = UnTensed . T.intercalate ", " . map (T.pack . Remote.name)
|
||||
|
||||
scanAlert :: Alert
|
||||
scanAlert = baseActivityAlert
|
||||
{ alertHeader = Just $
|
||||
tenseWords [Tensed "Scanning" "Scanned", "for file transfers"]
|
||||
, alertPriority = Low
|
||||
}
|
||||
|
||||
syncAlert :: [Remote] -> Alert
|
||||
syncAlert rs = baseActivityAlert
|
||||
{ alertName = Just SyncAlert
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue