~captainepoch/husky

ce927aea5ebe92221198bc5b0ef976cccdfb78f8 — Adolfo Santiago a month ago 935a763
Fix the Search functionality (by SekthDroid)

Fixes: https://todo.sr.ht/~captainepoch/husky/57
M husky/app/src/main/java/com/keylesspalace/tusky/components/search/fragments/SearchFragment.kt => husky/app/src/main/java/com/keylesspalace/tusky/components/search/fragments/SearchFragment.kt +2 -2
@@ 44,7 44,7 @@ import com.keylesspalace.tusky.util.hide
import com.keylesspalace.tusky.util.show
import com.keylesspalace.tusky.util.visible
import com.zhuinden.fragmentviewbindingdelegatekt.viewBinding
import org.koin.androidx.viewmodel.ext.android.viewModel
import org.koin.androidx.viewmodel.ext.android.activityViewModel

abstract class SearchFragment<T> :
    Fragment(R.layout.fragment_search),


@@ 52,7 52,7 @@ abstract class SearchFragment<T> :
    SwipeRefreshLayout.OnRefreshListener {

    private val binding by viewBinding(FragmentSearchBinding::bind)
    protected val viewModel: SearchViewModel by viewModel()
    protected val viewModel: SearchViewModel by activityViewModel()

    private var snackbarErrorRetry: Snackbar? = null