2020-03-31 21:13:48 +02:00
|
|
|
import React, { useState, useEffect } from 'react';
|
2021-03-22 12:54:17 +01:00
|
|
|
import { ScrollView } from 'react-native';
|
2020-12-25 17:09:53 +01:00
|
|
|
import navigationStyle from '../../components/navigationStyle';
|
|
|
|
import { SafeBlueArea, BlueCard, BlueText, BlueSpacing20, BlueLoading } from '../../BlueComponents';
|
2020-03-31 21:13:48 +02:00
|
|
|
|
|
|
|
const Licensing = () => {
|
|
|
|
const [isLoading, setIsLoading] = useState(true);
|
|
|
|
|
|
|
|
useEffect(() => {
|
|
|
|
setIsLoading(false);
|
2020-04-02 18:47:13 +02:00
|
|
|
}, []);
|
2020-03-31 21:13:48 +02:00
|
|
|
|
|
|
|
return isLoading ? (
|
2020-11-30 05:18:54 +01:00
|
|
|
<BlueLoading />
|
2020-03-31 21:13:48 +02:00
|
|
|
) : (
|
2021-03-22 12:54:17 +01:00
|
|
|
<SafeBlueArea>
|
2020-03-31 21:13:48 +02:00
|
|
|
<ScrollView>
|
|
|
|
<BlueCard>
|
2020-11-22 09:04:04 +01:00
|
|
|
<BlueText>MIT License</BlueText>
|
2020-03-31 21:13:48 +02:00
|
|
|
<BlueSpacing20 />
|
2022-06-15 14:54:45 +02:00
|
|
|
<BlueText>Copyright (c) 2018-2022 BlueWallet developers</BlueText>
|
2020-03-31 21:13:48 +02:00
|
|
|
<BlueSpacing20 />
|
2020-11-22 09:04:04 +01:00
|
|
|
<BlueText>
|
2020-03-31 21:13:48 +02:00
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
|
|
|
|
(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
|
|
|
|
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
|
|
|
|
furnished to do so, subject to the following conditions:
|
2020-11-22 09:04:04 +01:00
|
|
|
</BlueText>
|
2020-03-31 21:13:48 +02:00
|
|
|
<BlueSpacing20 />
|
|
|
|
|
2020-11-22 09:04:04 +01:00
|
|
|
<BlueText>
|
2020-03-31 21:13:48 +02:00
|
|
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
2020-11-22 09:04:04 +01:00
|
|
|
</BlueText>
|
2020-03-31 21:13:48 +02:00
|
|
|
<BlueSpacing20 />
|
|
|
|
|
2020-11-22 09:04:04 +01:00
|
|
|
<BlueText>
|
2020-03-31 21:13:48 +02:00
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
|
|
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
|
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
|
|
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
2020-11-22 09:04:04 +01:00
|
|
|
</BlueText>
|
2020-03-31 21:13:48 +02:00
|
|
|
</BlueCard>
|
|
|
|
</ScrollView>
|
2020-05-24 11:17:26 +02:00
|
|
|
</SafeBlueArea>
|
2020-03-31 21:13:48 +02:00
|
|
|
);
|
|
|
|
};
|
|
|
|
|
2020-12-25 17:09:53 +01:00
|
|
|
Licensing.navigationOptions = navigationStyle({
|
2020-03-31 21:13:48 +02:00
|
|
|
title: 'License',
|
|
|
|
});
|
|
|
|
|
|
|
|
export default Licensing;
|