flash icon indicating copy to clipboard operation
flash copied to clipboard

Show flash messages only once

Open code28 opened this issue 7 years ago • 0 comments

My impression of flash messages would be to show them only once. In this implementation, I see them only get added but not removed. Am I doing something wrong or am I missing something?

Otherwise, my suggestion would be to remove them when being rendered, so to insert the following line into FlashTag.swift at the end of the function render:

flash.flashes.removeAll()

code28 avatar Jul 15 '18 11:07 code28