It depends entirely on which airport you are landing at. Dubai has three airports, two of which are for passenger use (one is strictly for cargo).
If you are landing at Dubai International, and you have boarding passes for your connecting flight - you will not need a transit visa. The entire transit lounge is fully accessible and you can move between terminals freely.
If you are landing at Dubai International and you need to switch airlines and collect bags, you will need a transit visa. This is usually the case if you are flying on a LCC (Low Cost Carrier) which do not check your bags through - although flydubai is an exception.
This doesn't apply to you, but adding here for completeness:
- If you are landing at the DWTC airport and transiting through Dubai International, you will need a transit visa as these airports are far apart and you need to go through Dubai.
Finally if you do get tired at the airport (23 hours is long time), and you have proof of onward journey (usually a boarding pass and ticket), you can get a transit visa that will allow you a chance to visit Dubai and spend a few hours there. You will need at least 6 months validity on your passport to apply.
If you are flying on Emirates they can arrange this directly for you, if not - simply follow the signs for immigration and at the bank counter ask for a transit visa.