[TIZENIOT-2164] Fix progress issue in ongoing notification 41/248241/1 submit/tizen/20201124.075328 submit/tizen/20201209.024757
authoraman.jeph <aman.jeph@samsung.com>
Tue, 24 Nov 2020 07:29:26 +0000 (12:59 +0530)
committeraman.jeph <aman.jeph@samsung.com>
Tue, 24 Nov 2020 07:29:26 +0000 (12:59 +0530)
Change-Id: I5ff1c7a5d75522ca5e9c6c987c2ee96f47593a54
Signed-off-by: aman.jeph <aman.jeph@samsung.com>
src/notifications/noti_view_ongoing.c

index 54d4f8ecda003cc5881c76f04763812d73fabca7..f37dc9b4aa03ba7614c09592510b0008976c6ab1 100755 (executable)
@@ -209,6 +209,7 @@ static void _set_progressbar(Evas_Object *item, notification_h noti)
 
                if (layout != NOTIFICATION_LY_ONGOING_EVENT) {
                        if (percentage > 0.0 && percentage <= 1.0) {
+                               progressbar = elm_object_part_content_get(item, "elm.swallow.progress");
                                if(_check_duplicated_progress_loading(item, "elm.swallow.progress", "default") == NULL)
                                {
                                        progressbar = _create_progressbar(item, "default", EINA_FALSE);