v0.4.0: bubble for Android 0.4.0 — an inverted (lighter) icon, chosen in Settings on both

The original icon is a little dark: resources/icon-inverted.png and
ic_launcher_inverted.png are its negative (alpha kept).

- Desktop: Settings → Appearance → Icon (Dark / Inverted), saved on click;
  sets the window icon and rewrites the launcher's installed copy
- Android: Settings → Icon; two launcher activity-aliases, one enabled
This commit is contained in:
2026-11-06 17:20:56 -08:00
parent 5e5ef18e01
commit ec9e472265
14 changed files with 127 additions and 12 deletions
+2 -1
View File
@@ -1,5 +1,5 @@
// The typed bridge exposed to the renderer as window.api.
import type { AddressBook, ChatExport, ContactInfo, NewContact, Conversation, Credentials, Did, Message, OutgoingAttachment, SearchHit, Settings, SyncStatus, Theme } from './types'
import type { IconStyle, AddressBook, ChatExport, ContactInfo, NewContact, Conversation, Credentials, Did, Message, OutgoingAttachment, SearchHit, Settings, SyncStatus, Theme } from './types'
export interface AppState {
configured: boolean
@@ -23,6 +23,7 @@ export interface Api {
saveSetup(creds: Credentials, settings: Settings): Promise<void>
updateSettings(settings: Settings): Promise<void>
setTheme(theme: Theme): Promise<void>
setIcon(icon: IconStyle): Promise<void>
signOut(): Promise<void>
connectGoogleVoice(): Promise<void>
connectGoogleVoiceCookies(text: string): Promise<void>
+3
View File
@@ -4,6 +4,8 @@ export type Direction = 'in' | 'out'
export type MessageStatus = 'delivered' | 'pending' | 'failed'
export type MessageKind = 'sms' | 'mms'
export type Theme = 'system' | 'light' | 'dark'
// The app icon: the original dark photo, or its negative (lighter).
export type IconStyle = 'dark' | 'inverted'
// One MMS attachment. `url` is where voip.ms serves it; `file` is our cached
// copy (a name inside <dataDir>/media), filled in once downloaded or sent.
@@ -127,6 +129,7 @@ export interface Settings {
defaultDid?: string
backfillFloor: string // YYYY-MM-DD, stop backfill here
theme: Theme
icon?: IconStyle // absent = dark
notifications: boolean // new messages go to the notification list
contactBook?: string // where "Add to contacts" puts them; default: GNOME Contacts' default
}