diff --git a/app/src/main/java/com/joshuacerdenia/android/nicefeed/ui/viewmodel/EntryViewModel.kt b/app/src/main/java/com/joshuacerdenia/android/nicefeed/ui/viewmodel/EntryViewModel.kt index 4991b0b..8e89ed6 100644 --- a/app/src/main/java/com/joshuacerdenia/android/nicefeed/ui/viewmodel/EntryViewModel.kt +++ b/app/src/main/java/com/joshuacerdenia/android/nicefeed/ui/viewmodel/EntryViewModel.kt @@ -22,12 +22,10 @@ class EntryViewModel : ViewModel() { var lastPosition: Pair = Pair(0, 0) - var textSize = 0 - get() = FeedPreferences.textSize - private set + val textSize get() = FeedPreferences.textSize + val font get() = FeedPreferences.font + val isBannerEnabled get() = FeedPreferences.isBannerEnabled - var font = FeedPreferences.font - var isBannerEnabled = FeedPreferences.isBannerEnabled var isInitialLoading = true val entry: Entry? get() = entryLiveData.value