A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
mobile: fix no placeholder text on share widget
Ammar Ahmed98d443001c5a
diff --git a/apps/mobile/native/android/app/src/main/java/com/streetwriters/notesnook/NotesnookTileService.java b/apps/mobile/native/android/app/src/main/java/com/streetwriters/notesnook/NotesnookTileService.javanew file mode 100644index 000000000..68b41e878--- /dev/null+++ b/apps/mobile/native/android/app/src/main/java/com/streetwriters/notesnook/NotesnookTileService.java@@ -0,0 +1,2 @@+package com.streetwriters.notesnook;public class NotesnookTileService {+}diff --git a/apps/mobile/native/android/app/src/main/res/drawable/add_note.xml b/apps/mobile/native/android/app/src/main/res/drawable/add_note.xmlnew file mode 100644index 000000000..5a64b70d8--- /dev/null+++ b/apps/mobile/native/android/app/src/main/res/drawable/add_note.xml@@ -0,0 +1,5 @@+<vector android:height="24dp" android:tint="#000000"+ android:viewportHeight="24" android:viewportWidth="24"+ android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">+ <path android:fillColor="@android:color/white" android:pathData="M14,2L6,2c-1.1,0 -1.99,0.9 -1.99,2L4,20c0,1.1 0.89,2 1.99,2L18,22c1.1,0 2,-0.9 2,-2L20,8l-6,-6zM16,16h-3v3h-2v-3L8,16v-2h3v-3h2v3h3v2zM13,9L13,3.5L18.5,9L13,9z"/>+</vector>diff --git a/apps/mobile/native/ios/extension.bundle/plaineditor.html b/apps/mobile/native/ios/extension.bundle/plaineditor.htmlindex 2452f59d2..538895f59 100644--- a/apps/mobile/native/ios/extension.bundle/plaineditor.html+++ b/apps/mobile/native/ios/extension.bundle/plaineditor.html@@ -37,20 +37,21 @@}- [contenteditable=true]:empty:before {+ [contenteditable][placeholder]:empty:before {content: attr(placeholder);- pointer-events: none;- display: block;+ position: absolute;color: gray;+ background-color: transparent;}+++</style></head><body>- <div aria-autocomplete="none" placeholder="Write something..." contenteditable="true" id="editor" class="editor double-spaced" >-- </div>+ <div aria-autocomplete="none" placeholder="Write something..." contenteditable="true" id="editor" class="editor double-spaced" ></div><script>function postMessage(type, value) {if (window.ReactNativeWebView) {@@ -99,6 +100,9 @@case 'line-spacing': {doubleSpacedLines = JSON.parse(value);}+ case 'focus':+ document.getElementById('editor').focus();+ break;default:break;}