diff --git a/app/src/main/java/io/plaidapp/ui/HomeActivity.kt b/app/src/main/java/io/plaidapp/ui/HomeActivity.kt index 38403a53a..a8984e638 100644 --- a/app/src/main/java/io/plaidapp/ui/HomeActivity.kt +++ b/app/src/main/java/io/plaidapp/ui/HomeActivity.kt @@ -38,8 +38,10 @@ import android.view.View import android.view.ViewGroup import android.view.ViewStub import android.view.WindowInsets +import android.widget.Button import android.widget.FrameLayout import android.widget.ImageView +import android.widget.LinearLayout import android.widget.ProgressBar import android.widget.TextView import android.widget.Toast @@ -118,9 +120,16 @@ class HomeActivity : AppCompatActivity() { private val noFiltersEmptyText by lazy { val view = findViewById(R.id.stub_no_filters).inflate() as TextView - // create the no filters empty text + noFiltersEmptyText(R.string.no_filters_selected, view) + } + + private val noDataView by lazy { + val view = findViewById(R.id.stub_no_data).inflate() as LinearLayout + view.apply { findViewById