|
@@ -90,6 +90,7 @@ class NewsFragment : Fragment() {
|
90
|
90
|
100
|
91
|
91
|
|
92
|
92
|
if (newsViewModel.screenRatio != newRatio) {
|
|
93
|
+ if (Build.VERSION.SDK_INT > Build.VERSION_CODES.KITKAT)
|
93
|
94
|
newsViewModel.fetch((newsViewModel.root as SwipeRefreshLayout), viewAdapter, context!!)
|
94
|
95
|
newsViewModel.screenRatio = newRatio
|
95
|
96
|
}
|