Renames FramedSegment to Segment

This commit is contained in:
mashazyu
2020-03-23 15:02:08 +01:00
committed by Sofiya Tepikin
parent 6fb1c7cce9
commit 78d4077fb4
8 changed files with 45 additions and 46 deletions
+3 -3
View File
@@ -3,7 +3,7 @@ import { ScrollView } from 'react-native'
import CreatePassword from './create'
import ChangePassword from './update'
import DeletePassword from './delete'
import FramedSegment from '../../common/framed-segment'
import Segment from '../../common/segment'
import AppText from '../../common/app-text'
import {
hasEncryptionObservable
@@ -52,7 +52,7 @@ export default class PasswordSetting extends Component {
return (
<ScrollView>
<FramedSegment title={title}>
<Segment title={title}>
<AppText>
{ isPasswordSet ? explainerEnabled : explainerDisabled }
</AppText>
@@ -72,7 +72,7 @@ export default class PasswordSetting extends Component {
onCancelDelete = {this.onCancelDeletingPassword}
/>
)}
</FramedSegment>
</Segment>
</ScrollView>
)
}