Skip to content

Commit

Permalink
Fix lock container colors for themes
Browse files Browse the repository at this point in the history
  • Loading branch information
moughxyz committed Mar 2, 2018
1 parent 9bdc55a commit 3552c6a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ android {
applicationId "com.standardnotes"
minSdkVersion 21
targetSdkVersion 25
versionCode 2010100
versionName "2.1.1"
versionCode 2010200
versionName "2.1.2"
multiDexEnabled true
ndk {
abiFilters "armeabi-v7a", "x86"
Expand Down
4 changes: 2 additions & 2 deletions ios/StandardNotes/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.1</string>
<string>2.1.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>8</string>
<string>2</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "StandardNotes",
"version": "2.1.1",
"versionIOS": "2.1.1",
"versionAndroid": "2.1.1",
"version": "2.1.2",
"versionIOS": "2.1.2",
"versionAndroid": "2.1.2",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
Expand Down
6 changes: 3 additions & 3 deletions src/screens/Compose.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export default class Compose extends Abstract {

{this.note.locked &&
<View style={this.styles.lockedContainer}>
<Icon name={Icons.nameForIcon("lock")} size={20} color={GlobalStyles.constants().mainTintColor} />
<Icon name={Icons.nameForIcon("lock")} size={20} color={GlobalStyles.constants().mainBackgroundColor} />
<Text style={this.styles.lockedText}>Note Locked</Text>
</View>
}
Expand Down Expand Up @@ -353,14 +353,14 @@ export default class Compose extends Abstract {
height: 30,
maxHeight: 30,
paddingLeft: GlobalStyles.constants().paddingLeft,
backgroundColor: GlobalStyles.constants().selectedBackgroundColor,
backgroundColor: GlobalStyles.constants().mainTintColor,
borderBottomColor: GlobalStyles.constants().plainCellBorderColor,
borderBottomWidth: 1
},

lockedText: {
fontWeight: "bold",
color: GlobalStyles.constants().mainTintColor,
color: GlobalStyles.constants().mainBackgroundColor,
paddingLeft: 10
},

Expand Down

0 comments on commit 3552c6a

Please sign in to comment.