Skip to content

Commit 4be27ba

Browse files
committed
Remove unused update URL and clean up visibility logic in HomeFragment
1 parent b300f7e commit 4be27ba

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

app/src/main/java/com/hamzaazman/birthdayreminder/ui/home/HomeFragment.kt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ class HomeFragment : Fragment(R.layout.fragment_home) {
2929
private val allAdapter by lazy {
3030
AllPersonAdapter()
3131
}
32-
private val updateUrl = "https://hamzaazman.github.io/BirthdayReminder/releases/update.json"
33-
3432

3533

3634
@RequiresApi(Build.VERSION_CODES.O)
@@ -77,14 +75,8 @@ class HomeFragment : Fragment(R.layout.fragment_home) {
7775

7876
todaySection.isVisible = state.hasTodayBirthdays
7977

80-
//todayBirthdayTitle.isVisible = state.hasTodayBirthdays
81-
//todayRecyclerView.isVisible = state.todayBirthdays.isNotEmpty()
82-
83-
8478
allSection.isVisible = state.hasAllBirthdays
8579

86-
//allTitle.isVisible = state.hasAllBirthdays
87-
//allRecyclerView.isVisible = state.hasAllBirthdays
8880
}
8981
}
9082
}

0 commit comments

Comments
 (0)