Sub MyUpdateWidget
Dim DaysPointsUsed As String = Main.UsersDayPointsUsedForToday
Dim WeeksPointsUsed As String = Main.UsersWeekPointsUsedForToday
If DaysPointsUsed = "" Then
DaysPointsUsed = 0
End If
If WeeksPointsUsed = "" Then
WeeksPointsUsed = 0
End If
ToastMessageShow(DaysPointsUsed, False)
rv.SetText("lblDaysPoints",DaysPointsUsed & " / " & Main.UsersDailyPointsTotal)
rv.SetText("lblWeeksPoints",WeeksPointsUsed & " / " & Main.UsersWeeklyPointsTotal)
'do more changes if needed
End Sub