-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Update] Change clipboard dependency to @react-native-clipboard/clipb…
…oard and fix related issues.
- Loading branch information
Showing
7 changed files
with
18 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ import React from "react"; | |
import { View } from "react-native"; | ||
import { ListItem } from "react-native-elements"; | ||
import DeviceInfo from "react-native-device-info"; | ||
// import Clipboard from "@react-native-community/clipboard"; | ||
import Clipboard from "@react-native-clipboard/clipboard"; | ||
import Theme from "../../../../styles/theme"; | ||
import I18n from "../../../../common/languages"; | ||
import Toast from "../../../../components/toast"; | ||
|
@@ -33,7 +33,7 @@ const list = [ | |
rightTitle: "[email protected]", | ||
onPress: text => { | ||
Toast.showToast(I18n.t("SystemInfo.copySuc")); | ||
// Clipboard.setString(text); | ||
Clipboard.setString(text); | ||
}, | ||
}, | ||
]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters