How does alkalinization improve hypokalemia in Type 1 RTA?

How does alkalinization improve hypokalemia in Type 1 RTA?
And how does it worsen Hypokalemia in Type 2 RTA?

In type 1 RTA, alkali therapy is given to equal the daily acid production and correct the acidosis. The proximal tubule will absorb the given bicarbonate and correct acidosis.

Acidosis leads to reduced net proximal fluid reabsorption, which leads to increased fluid loss and activation of the renin-angiotensin-aldosterone system (RAAS), resulting in decreased proximal tubular Na+ reabsorption and increased distal delivery of Na+ to the cortical collecting duct. These processes, along with increased aldosterone secretion, lead to increased K+ secretion into the tubular lumen, leading to overall potassium loss. On correcting the acidemia, the potassium loss will also be corrected to an extent.

In type 2 RTA, increased bicarbonate concentration in urine induced by alkali therapy also increases urinary potassium losses because increased sodium and water delivery to the distal tubule stimulates potassium secretion into the tubular lumen (RAAS induced) and worsens hypokalemia. Thank you.