In a heavy frying pan, cook onion and garlic over medium heat in oil, stirring often, until they begin to turn golden. Dust chicken pieces lightly with flour and add to the onion mixture. Continue to cook thighs, turning them over when they are brown. Stir in salt, pepper, paprika and wine. Simmer for about 15 min longer. Stir in peas and cook for only about 3 minutes Serve hot.