Heat the olive oil in a large Dutch oven over medium heat. Season the chicken thighs with salt and pepper, then brown them on both sides for about 4 minutes per side. Remove the chicken and set it aside.
Add the diced onion to the pot and cook for 3 minutes until it softens. Stir in the minced garlic and cook for 30 seconds more.
Sprinkle the flour over the onions and stir for 1 minute to cook out the raw taste. Slowly pour in the beer while scraping the bottom of the pot to loosen any browned bits.
Add the chicken broth, thyme, and the browned chicken thighs back to the pot. Bring the mixture to a simmer.
Stir in the potato chunks and carrot slices. Cover the pot and let everything cook on low heat for 45 minutes until the chicken is tender and the vegetables are soft.
Remove the chicken thighs, shred the meat off the bones, and return it to the stew. Stir well and adjust salt if needed before serving.