mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-07-09 20:09:36 +02:00
mobile: set default font size 1-400 (#10052)
* mobile: set default font size 1-400 Signed-off-by: kashaf-ansari-dev <kashafansari3108@gmail.com> * mobile: Use defined font size bounds Signed-off-by: kashaf-ansari-dev <kashafansari3108@gmail.com> --------- Signed-off-by: kashaf-ansari-dev <kashafansari3108@gmail.com>
This commit is contained in:
@@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { formatBytes } from "@notesnook/common";
|
||||
import { FONT_SIZE_BOUNDS, formatBytes } from "@notesnook/common";
|
||||
import {
|
||||
SubscriptionPlan,
|
||||
SubscriptionProvider,
|
||||
@@ -206,7 +206,7 @@ export const settingsGroups: SettingSection[] = [
|
||||
: status === SubscriptionStatus.ACTIVE
|
||||
? strings.subRenewOn(expiryDate)
|
||||
: status === SubscriptionStatus.CANCELED ||
|
||||
status === SubscriptionStatus.PAUSED
|
||||
status === SubscriptionStatus.PAUSED
|
||||
? strings.subEndsOn(expiryDate)
|
||||
: status === SubscriptionStatus.EXPIRED
|
||||
? subscriptionDaysLeft.time < -3
|
||||
@@ -862,8 +862,8 @@ export const settingsGroups: SettingSection[] = [
|
||||
name: strings.defaultFontSize(),
|
||||
description: strings.defaultFontSizeDesc(),
|
||||
type: "input-selector",
|
||||
minInputValue: 8,
|
||||
maxInputValue: 120,
|
||||
minInputValue: FONT_SIZE_BOUNDS.MIN,
|
||||
maxInputValue: FONT_SIZE_BOUNDS.MAX,
|
||||
icon: "format-size",
|
||||
property: "defaultFontSize"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user