Signal-iOS/SignalServiceKit/tests
Evan Hahn 4675434c6c Add FiatMoney type
This change should have no user impact.

We commonly pair a currency, like USD, and an amount, like 1.23. This
adds the `FiatMoney` struct. It's a simple struct with two fields.

After adding it, I tried to use it everywhere. (It's possible I missed a
spot.)

I think this is a useful change on its own, but it'll be nice for an
upcoming change, too.

See also: [Android's equivalent class][0].

[0]: cb65347bb3/core-util/src/main/java/org/signal/core/util/money/FiatMoney.java (L1)
2022-10-26 17:04:51 -05:00
..
Account Change license to AGPL 2022-10-13 08:25:37 -05:00
Contacts Change license to AGPL 2022-10-13 08:25:37 -05:00
Devices Change license to AGPL 2022-10-13 08:25:37 -05:00
Fixtures Improvements to PNG transcoding 2022-09-13 23:22:50 +00:00
Groups Change license to AGPL 2022-10-13 08:25:37 -05:00
Messages Change license to AGPL 2022-10-13 08:25:37 -05:00
Network Add FiatMoney type 2022-10-26 17:04:51 -05:00
Protos Change license to AGPL 2022-10-13 08:25:37 -05:00
Security Change license to AGPL 2022-10-13 08:25:37 -05:00
Storage Change license to AGPL 2022-10-13 08:25:37 -05:00
Stories Use read state for the stories tab bar badge 2022-10-18 16:22:50 -07:00
Util Fetch and persist remote megaphones 2022-10-26 15:03:08 -07:00
SSKBaseTestObjC.h Change license to AGPL 2022-10-13 08:25:37 -05:00
SSKBaseTestObjC.m Change license to AGPL 2022-10-13 08:25:37 -05:00
SSKBaseTestSwift.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
SSKSwiftTests.swift Change license to AGPL 2022-10-13 08:25:37 -05:00