Skip to content
Snippets Groups Projects

Added feedback label in Search scene

Merged Rokas Bliudzius requested to merge feat/photos-feedback-label into dev
All threads resolved!
2 files
+ 17
14
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 1
3
@@ -183,13 +183,11 @@ public class Css {
* Plays a fading transition on a feedback label
*
* @param feedBackType FeedBackType Enum, the type of feedback (success or error)
* @param labelDisplayText text to be displayed by the label when the transition will be shown
* @param fontSize the size of the font
* @param label label to play the transition on
*/
public static void playFeedBackLabelTransition(FeedBackType feedBackType, String labelDisplayText, int fontSize, Label label){
public static void playFeedBackLabelTransition(FeedBackType feedBackType, int fontSize, Label label){
setFeedBackLabel(feedBackType, fontSize, label);
label.setText(labelDisplayText);
FadeTransition ft = new FadeTransition(Duration.seconds(5), label);
ft.setFromValue(1);
ft.setToValue(0);
Loading