A button that inputs a round down whole number to leave a fraction of your coins in your wallet for fees. If you completely drain your wallet with the “MAX” it prevents you to use the wallet for fees on your next transaction, or staking reward claim.
Would people also understand this?
Most of the users impacted by this will most likely also not be aware that there needs to be a small amount of funds left on the wallet in any case, and will most likely also not use / understand the “Integer” button.
Would a warning message or an automated deduction when it is the final asset in the wallet not be more convenient?
Small side note: do note that Osmosis supports a LOT of various assets whitelisted to pay gas fees, not only OSMO. So the chance that an user swaps from a whitelisted asset into another whitelisted asset and has therefore funds to pay transaction fees is quite big.